season: Estimate seasonal component

View source: R/itsmr.R

seasonR Documentation

Estimate seasonal component

Description

Estimate seasonal component

Usage

season(x, d)

Arguments

x

Time series data

d

Number of observations per season

Value

Returns a vector the same length as x. Subtract from x to obtain residuals.

See Also

trend

Examples

y = season(deaths,12)
plotc(deaths,y)

itsmr documentation built on Aug. 6, 2022, 9:08 a.m.