Learn R Programming

forecastHybrid (version 5.0.19)

checkCVArguments: Validate that CV window parameters are valid

Description

Validate that CV window parameters are valid

Usage

checkCVArguments(x, windowSize, maxHorizon)

Arguments

x

the input time series.

windowSize

length of the window to build each model. When rolling == FALSE, the each model will be fit to a time series of this length, and when rolling == TRUE the first model will be fit to a series of this length and grow by one each iteration.

maxHorizon

maximum length of the forecast horizon to use for computing errors.