powered by
Produces a plot of the level, slope and seasonal components from a BATS or TBATS model.
# S3 method for bats plot(x, main = "Decomposition by BATS model", ...)# S3 method for tbats autoplot(object, range.bars = FALSE, ...)# S3 method for bats autoplot(object, range.bars = FALSE, ...)# S3 method for tbats plot(x, main = "Decomposition by TBATS model", ...)
# S3 method for tbats autoplot(object, range.bars = FALSE, ...)
# S3 method for bats autoplot(object, range.bars = FALSE, ...)
# S3 method for tbats plot(x, main = "Decomposition by TBATS model", ...)
Object of class “bats/tbats”.
Main title for plot.
Other plotting parameters passed to par.
par
Logical indicating if each plot should have a bar at its right side representing relative size. If NULL, automatic selection takes place.
None. Function produces a plot
bats,tbats
bats
tbats
# NOT RUN { # } # NOT RUN { fit <- tbats(USAccDeaths) plot(fit) autoplot(fit, range.bars = TRUE) # } # NOT RUN { # }
Run the code above in your browser using DataLab