| Forecast-class | R Documentation |
An S4 class for storing forecasts. An object of the Forecast class has equal length vectors that contain the time the forecast was made, the future time being forecasted, the forecast, and realized values if available. Optionally includes the number of periods ahead being forecasted.
originA vector of any class representing the time when the forecast was made.
futureA vector of any class representing the time that is being forecasted, i.e. when the forecast will be realized.
forecastA numeric vector of forecasts.
realizedOptional numeric vector of realized values, i.e. the true value at the future time.
h_aheadOptional length-one object representing the number of periods ahead being forecasted.
For a detailed example see the help vignette:
vignette("lmForc", package = "lmForc")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.