slice_train creates the train data from the
complete data set main_frame according to split_frame. Same
columns as main_frame, but the number of the split is added as
integer.
Arguments
- main_frame
A
tibblecontaining the time series data.- split_frame
A
tibblecontaining the splits into train and test. The result of a call tomake_split().- context
A named
listwith the identifiers forseried_id,value_idandindex_id.