View source: R/ts_decomposition.R
ts_decomposition | R Documentation |
If the trends data is longer than 3 years in length, function runs an STL decomposition on each series.
See Hyndman "Forecasting: Principles and Practice" https://otexts.com/fpp3/stlfeatures.html for details.
ts_decomposition(tbl, term)
tbl |
Data frame returned by Google Trends API |
term |
Keyword to focus on for decompositions |
List of graphs - STL decomposition; Seasonally adjusted plot; Seasonality v Trend
## Not run:
decomp(tbl, directory, project)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.