powered by
Seasonaly adjust monthly or quarterly data using X-13 SEATS via seas()
run_sa(x, dates, x11 = FALSE, transfunc = c("none", "auto", "log"))
data
dates corresponding to data 'x'
T/F, use x11 as opposed to X-13 SEATS
Data transformation, one of `none` for no transformation, `auto` for automatic detection, or `log` for log transformation
A list with `adj_fact` containing seasonal factors and `sa_final` containing seasonally adjusted data.
# NOT RUN { x <- fred[series_name == "gdp constant prices", value] dates <- fred[series_name == "gdp constant prices", ref_date ] run_sa(x, dates, transfunc = "log") # }
Run the code above in your browser using DataLab