get_original: Get Original Time Series

Description Usage Arguments Author(s) See Also Examples

View source: R/get_original.R

Description

Get the original time series from a seasonal adjustment object created by the dsa function. Can deviate from the input data as missings are filled up, usually using zoo::na.locf().

Usage

1
get_original(daily.object, forecast = FALSE)

Arguments

daily.object

Output from dsa

forecast

Include forecast of component

Author(s)

Daniel Ollech

See Also

get_sa, get_trend

Examples

1
2
3
4
set.seed(123)
x = daily_sim(n=4)$original # series with length 4 years
res <- dsa(x, cval=7, model=c(3,1,0),fourier_number = 13)
get_original(res)

dsa documentation built on June 21, 2021, 9:07 a.m.