powered by
stl_decomp
Provides a summary of returns distribution
stl_decomp(x = x, output = "chart", s.window = 13, s.degree = 1, ...)
Wide dataframe with date column and single series (univariate).
"chart" to see output as a graph. "data" for results as a list.
Either the character string "periodic" or the span (in lags) of the loess window for seasonal extraction, which should be odd. This has no default.
Degree of locally-fitted polynomial in seasonal extraction. Should be zero or one.
Other parms
a chart or list object of results
# NOT RUN { x <- dflong %>% dplyr::filter(series=="CL01") stl_decomp(x,output="chart",s.window=13,s.degree=1) stl_decomp(x,output="data",s.window=13,s.degree=1) # }
Run the code above in your browser using DataLab