tscut: Suggested starting date

Description Usage Arguments Value Examples

View source: R/tscut.R

Description

This function uses changing points in variance and mean to suggest a starting date.

Usage

1
tscut(time_series, freq = 12)

Arguments

time_series

ts or numeric

freq

numeric. Set the frequency if the input is numeric, 12 by default.

Value

ts object or numeric indexed as year 1

Examples

1
2
3
4
## Not run: 
tscut(AirPassengers)

## End(Not run)

opoyc/sftools documentation built on July 31, 2020, 3:33 a.m.