localsimple_taures: The first zero crossing of the autocorrelation function of...

Description Usage Arguments Value

View source: R/compengine.R

Description

Simple predictors using the past trainLength values of the time series to predict its next value.

Usage

1
localsimple_taures(y, forecastMeth = c("mean", "lfit"), trainLength = NULL)

Arguments

y

the input time series

forecastMeth

the forecasting method, default to mean. mean: local mean prediction using the past trainLength time-series values. lfit: local linear prediction using the past trainLength time-series values.

trainLength

the number of time-series values to use to forecast the next value. Default to 1 when using method mean and 3 when using method lfit.

Value

The first zero crossing of the autocorrelation function of the residuals


tsfeatures documentation built on July 1, 2020, 7:12 p.m.