autoplot.decomposed.ts {forecast} | R Documentation |
Produces a ggplot object of decomposed components of a time series object
## S3 method for class 'decomposed.ts' autoplot(object, ...)
object |
Object of class “decomposed.ts” to be plotted. |
... |
Other plotting parameters to affect the plot. |
None. Function produces a ggplot graph.
Mitchell O'Hara-Wild
library(ggplot2) m <- decompose(co2) autoplot(m)