Returns seasonally adjusted data constructed by removing the seasonal component.

seasadj(object, ...)

# S3 method for stl
seasadj(object, ...)

# S3 method for mstl
seasadj(object, ...)

# S3 method for decomposed.ts
seasadj(object, ...)

# S3 method for tbats
seasadj(object, ...)

# S3 method for seas
seasadj(object, ...)

Arguments

object

Object created by decompose, stl or tbats.

...

Other arguments not currently used.

Value

Univariate time series.

See also

stl, decompose, tbats.

Examples

plot(AirPassengers)
lines(seasadj(decompose(AirPassengers,"multiplicative")),col=4)