powered by
Estimate seasonal component
season(x, d)
Returns a vector the same length as x. Subtract from x to obtain residuals.
x
Time series data
Number of observations per season
trend
y = season(deaths,12) plotc(deaths,y)
Run the code above in your browser using DataLab