Description Usage Arguments Author(s) See Also Examples
Extracts and plot the seasonality component of a time series
1 |
x |
A list returned by ts_trend(). |
plot |
Whether to plot or not the seasonal component. Defaults to TRUE. |
random |
Whether to calculate random component or not |
David Alberto Mateos Montes de Oca.
decompose().
1 2 3 | s <- AirPassengers
x <- ts_trend(s)
ts_season(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.