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

origin<-,Forecast-methodR Documentation

Set origin slot of a Forecast object

Description

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

Usage

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

Arguments

Forecast

Forecast object.

value

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

Value

Forecast object that contains the new origin vector.

Examples

## Not run: 

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


## End(Not run)


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