test_seasonality: Automatic seasonality testing

Description Usage Arguments Value

Description

Finds the seasonal period - or, in the case of multiple seasonality, combination of seasonal periods - of a dockless_df time series that leads to the highest forecast accuracy. Does this with time series cross-validation.

Usage

1

Arguments

data

object of class dockless_df.

seasons

a list of different seasonal period lengths - or, in the case of multiple seasonality, combinations of seasonal period lenghts - in time lags to be tested for. No seasonality should be represented by NULL.

Value

Returns a value specifying the length in time lags of the seasonal period. In the case of multiple seasonality, it returns a vector. In the case of no seasonality, it returns NULL.


luukvdmeer/dockless documentation built on May 10, 2019, 1:24 p.m.