Learn R Programming

lmForc (version 1.0.0)

future<-,Forecast-method: Set future slot of a Forecast object

Description

future takes a Forecast object and sets the future vector of the forecast.

Usage

# S4 method for Forecast
future(Forecast) <- value

Value

Forecast object that contains the new future vector.

Arguments

Forecast

Forecast object.

value

Vector of values assigned to the future slot of the Forecast.

Examples

Run this code
if (FALSE) {

future(Forecast) <- c("2015-03-01", "2015-03-02", "2015-03-03")

}

Run the code above in your browser using DataLab