This will widen the dataset to put the t previous time slices in each row, so that it can be used to learn temporal arcs in the second phase of the dmmhc. Recursive version not exported, the user calls from the handler 'fold_dt'
fold_dt_rec(dt, n_prev, size, slice = 1)
the extended data.table
the data.table to be treated
names of the previous time slice
number of time slices to unroll. Markovian 1 would be size 2
the current time slice being treated. Should not be modified when first calling.