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

h_ahead<-,Forecast-methodR Documentation

Set h_ahead slot of a Forecast object

Description

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

Usage

## S4 replacement method for signature 'Forecast'
h_ahead(Forecast) <- value

Arguments

Forecast

Forecast object.

value

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

Value

Forecast object that contains the new h_ahead vector.

Examples

## Not run: 

h_ahead(Forecast) <- 4L


## End(Not run)


lmForc documentation built on Sept. 11, 2024, 8:14 p.m.