Also in addition to @axeman 's answer. Here is the data.table
method if you want to fill in your zeros:
# fill in zero values
setkeyv(time, cols = c("Strategy", t_type))
time <- time[CJ(Strategy, get(t_type), unique = TRUE)]
setnafill(time, fill = 0, cols = 'N')
Modified from suggestions here to adopt a variable as a column name and avoid line wrapping.