| Forecast-class {lmForc} | R Documentation |
S4 class for storing forecasts
Description
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.
Slots
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.
See Also
For a detailed example see the help vignette:
vignette("lmForc", package = "lmForc")
[Package lmForc version 0.1.0 Index]