regionalCV | R Documentation |
Cross-validated fits of various fable models. Will take advantage of plan() if called outside of function.
regionalCV(data, cv_dist = 8, init = 36, step = 3)
data |
A dataframe with time as 'datename' and quantity as 'n'. |
cv_dist |
The number of months that should be cross-validated. |
init |
The number of months that cross-validations should start from. |
step |
The number of months between each cross-validation step. |
Dataframe of model fits
## Not run: regionalCV(data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.