Learn R Programming

forecast (version 8.13)

seasadj: Seasonal adjustment

Description

Returns seasonally adjusted data constructed by removing the seasonal component.

Usage

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

Run this code
# NOT RUN {
plot(AirPassengers)
lines(seasadj(decompose(AirPassengers,"multiplicative")),col=4)

# }

Run the code above in your browser using DataLab