powered by
This may be useful if you want to include the data lately or remove the included data (set as NULL).
NULL
set_data(.mp, data)
Returns silently the original TSMP object with changed data.
a TSMP object.
a matrix (for one series) or a list of matrices (for two series).
matrix
list
mp <- tsmp(mp_toy_data$data[1:200, 1], window_size = 30, verbose = 0) mp <- set_data(mp, NULL)
Run the code above in your browser using DataLab