seasadj {tfarima} | R Documentation |
Seasonal adjustment
Description
seasadj
removes the seasonal component of time series.
Usage
seasadj(mdl, ...)
## S3 method for class 'um'
seasadj(
mdl,
z = NULL,
method = c("mixed", "forecast", "backcast"),
envir = NULL,
...
)
Arguments
mdl |
|
... |
additional arguments. |
z |
an object of class |
method |
forward/backward forecasts or a mixture of the two. |
envir |
environment in which the function arguments are evaluated. If NULL the calling environment of this function will be used. |
Value
seasadj
returns a seasonal adjusted time series.
Examples
Y <- AirPassengers
um1 <- um(Y, bc = TRUE, i = list(1, c(1,12)), ma = list(1, c(1,12)))
Y <- seasadj(um1)
ide(Y)
[Package tfarima version 0.3.2 Index]