origin<- {lmForc} | R Documentation |
Set the origin slot of a Forecast object
Description
origin
takes a Forecast
object and sets the origin
vector of the forecast.
Usage
origin(Forecast) <- value
Arguments
Forecast |
Forecast object. |
value |
Vector of values assigned to the origin slot of the Forecast. |
Value
Forecast
object that contains the new origin vector.
Examples
## Not run:
origin(Forecast) <- c("2015-01-01", "2015-01-02", "2015-01-03")
## End(Not run)
[Package lmForc version 0.1.0 Index]