R: Seasonal adjustment

seasadj {forecast} | R 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 '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)

[Package forecast version 8.2 Index]