powered by
seasadj removes the seasonal component of time series.
seasadj
seasadj(mdl, ...)# S3 method for um seasadj( mdl, z = NULL, method = c("mixed", "forecast", "backcast"), envir = NULL, ... )
# S3 method for um seasadj( mdl, z = NULL, method = c("mixed", "forecast", "backcast"), envir = NULL, ... )
an object of class um or tfm.
um
tfm
additional arguments.
an object of class ts.
ts
forward/backward forecasts or a mixture of the two.
environment in which the function arguments are evaluated. If NULL the calling environment of this function will be used.
seasadj returns a seasonal adjusted time series.
# NOT RUN { Y <- AirPassengers um1 <- um(Y, bc = TRUE, i = list(1, c(1,12)), ma = list(1, c(1,12))) Y <- seasadj(um1) ide(Y) # }
Run the code above in your browser using DataLab