forc-set: Set forecast slot of a Forecast object

Description Usage Arguments Value Examples

Description

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

Usage

1
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

1
2
3
4
5
6
## Not run: 

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


## End(Not run)

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