Estimate seasonal component

1

season(x, d)

x

Data vector

d

Number of observations per season

Returns a vector the same length as x. Subtract from x to obtain residuals.

trend

1 2

y = season(deaths,12) plotc(deaths,y)

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.