stR (version 0.6)

seasadj.STR: Seasonal adjustment based on STR

Description

seasadj.STR extracts seasonally adjusted data by removing the seasonal components from the result of STR decomposition.

Usage

# S3 method for STR
seasadj(object, include = c("Trend", "Random"), ...)

seasadj(object, ...)

Arguments

object

Result of STR decomposition.

include

Vector of component names to include in the result. The default is c("Trend", "Random").

...

Other arguments not currently used.

Author

Alexander Dokumentov

See Also

STRmodel, RSTRmodel, STR, AutoSTR

Examples

Run this code
# \donttest{

fit <- AutoSTR(log(grocery))
plot(seasadj(fit))
# }

Run the code above in your browser using DataLab