nb_diffs: Determine the number of differencing to obtain a stationary...

Description Usage Arguments Value Examples

View source: R/preprocessing.R

Description

Uses nsdiffs and ndiffs to determine the number of differencing to obtain a stationary time series.

Usage

1
nb_diffs(ts_data, ...)

Arguments

ts_data

A univariate 'ts' or 'xts' object

...

Additional arguments to be passed to the function

Value

A list, training, validation and test sets

Examples

1
2
3
4
5
## Not run: 
library(datasets)
nb_diffs(AirPassengers)

## End(Not run)

xavierkamp/tsForecastR documentation built on Feb. 1, 2020, 10:16 a.m.