View source: R/summary-forecast.R
divide_ts | R Documentation |
Split a given time series dataset into train and test set for evaluation.
divide_ts(y, n_ahead)
y |
Time series data of which columns indicate the variables |
n_ahead |
step to evaluate |
List of two datasets, train and test.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.