Description Usage Arguments Details Value Author(s) Examples
Obtain cross validated forecasts when rolling cross validation is used. The object is not inspected to see if it was fit using a rolling origin
1 | extractForecasts(cv, horizon = 1)
|
cv |
An object of class cvts |
horizon |
The forecast horizon from each fold to extract |
Combine the cross validated forecasts fit with a rolling origin. This may be useful to visualize and investigate the cross validated performance of the model
Forecasts computed via a rolling origin
Ganesh Krishnan
1 2 3 4 | cv <- cvts(AirPassengers, FUN = stlm, FCFUN = forecast,
rolling = TRUE, windowSize = 134, horizon = 2)
extractForecasts(cv)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.