Produces a faceted plot of the components used to build the response variable of the dable. Useful for visualising how the components contribute in a decomposition or model.
# S3 method for dcmp_ts autoplot(object, .vars = NULL, scale_bars = TRUE, level = c(80, 95), ...)
object | A dable. |
---|---|
.vars | The column of the dable used to plot. By default, this will be the response variable of the decomposition. |
scale_bars | If |
level | If the decomposition contains distributions, which levels should be used to display intervals? |
... | Further arguments passed to |
library(feasts) library(tsibbledata) aus_production %>% model(STL(Beer)) %>% components() %>% autoplot()![]()