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.
Examples
Run this code# NOT RUN {
fit <- AutoSTR(log(grocery))
plot(seasadj(fit))
# }
Run the code above in your browser using DataLab