realized-set-Forecast-method: Set realized slot of a Forecast object

Description Usage Arguments Value Examples

Description

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

Usage

1
2
## S4 replacement method for signature 'Forecast'
realized(Forecast) <- value

Arguments

Forecast

Forecast object.

value

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

Value

Forecast object that contains the new realized vector.

Examples

1
2
3
4
5
6
## Not run: 

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


## End(Not run)

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