powered by
Get the calendar- and seasonally adjusted series from a seasonal adjustment object created by the dsa function
get_sa(daily.object, forecast = FALSE)
Output from dsa
Include forecast of component
get_trend, get_original
# NOT RUN { 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_sa(res) # }
Run the code above in your browser using DataLab