add_fourier: Add fourier terms to tsibble

Description Usage Arguments Details Value Examples

View source: R/modelling.R

Description

Add fourier terms to tsibble

Usage

1
add_fourier(original, K_fourier = Inf)

Arguments

original

original tsibble

K_fourier

number of fourier terms

Details

Add fourier terms to tsibble

Value

tsibble with fourier terms

Examples

1
2
3
test_ts = stats::ts(rnorm(100), start = c(2000, 1), freq = 12)
test_tsibble = tsibble::as_tsibble(test_ts)
add_fourier(test_tsibble)

kassandra-ru/kassandr documentation built on Jan. 1, 2022, 7:39 a.m.