forc2df: Collect a Forecast object to a data frame

Description Usage Arguments Value See Also Examples

View source: R/Forecast.R

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

1

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

1
2
3
4
5
6
7
8
## Not run: 

forc2df(x1_forecast)

forc2df(x1_forecast, x2_forecast)


## End(Not run)

lmForc documentation built on Jan. 4, 2022, 1:11 a.m.