Learn R Programming

lmForc (version 1.0.0)

h_ahead<-: 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

h_ahead(Forecast) <- value

Value

Forecast object that contains the new h_ahead vector.

Arguments

Forecast

Forecast object.

value

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

Examples

Run this code
if (FALSE) {

h_ahead(Forecast) <- 4L

}

Run the code above in your browser using DataLab