Skip to contents

Returns seasonally adjusted data constructed by removing the seasonal component.

Usage

seasadj(object, ...)

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

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

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

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

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

Arguments

object

Object created by decompose, stl or tbats.

...

Other arguments not currently used.

Value

Univariate time series.

See also

Author

Rob J Hyndman

Examples

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