forc2df {lmForc} | R Documentation |
Collect a Forecast object to a data frame
Description
forc2df
takes one or more objects of the Forecast class and collects
them into a data frame. Returns a data frame with all of the information that
was stored in the Forecast objects. If multiple forecasts are being
collected, all forecasts must have identical future and realized values.
Usage
forc2df(...)
Arguments
... |
One or multiple forecasts of the class Forecast. |
Value
data.frame
object that contains forecast information.
See Also
For a detailed example see the help vignette:
vignette("lmForc", package = "lmForc")
Examples
## Not run:
forc2df(x1_forecast)
forc2df(x1_forecast, x2_forecast)
## End(Not run)
[Package lmForc version 0.1.0 Index]