season | R Documentation |
Estimate seasonal component
season(x, d)
x |
Time series data |
d |
Number of observations per season |
Returns a vector the same length as x
.
Subtract from x
to obtain residuals.
trend
y = season(deaths,12) plotc(deaths,y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.