forc<- {lmForc}R Documentation

Set forecast slot of a Forecast object

Description

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

Usage

forc(Forecast) <- value

Arguments

Forecast

Forecast object.

value

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

Value

Forecast object that contains the new forecast vector.

Examples

## Not run: 

forc(Forecast) <- c(2.45, 2.76, 3.31)


## End(Not run)


[Package lmForc version 0.1.0 Index]