seasadj: Seasonal adjustment

View source: R/seasadj.R

seasadjR Documentation

Seasonal adjustment

Description

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.

Author(s)

Rob J Hyndman

See Also

stl, decompose, tbats.

Examples

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


forecast documentation built on June 22, 2024, 9:20 a.m.