powered by
origin takes a Forecast object and sets the origin vector of the forecast.
origin
Forecast
# S4 method for Forecast origin(Forecast) <- value
Forecast object that contains the new origin vector.
Forecast object.
Vector of values assigned to the origin slot of the Forecast.
if (FALSE) { origin(Forecast) <- c("2015-01-01", "2015-01-02", "2015-01-03") }
Run the code above in your browser using DataLab