forecast (version 7.2)

autoplot.decomposed.ts: ggplot of a decomposed time series object

Description

Produces a ggplot object of decomposed components of a time series object

Usage

"autoplot"(object, ...)

Arguments

object
Object of class “decomposed.ts” to be plotted.
...
Other plotting parameters to affect the plot.

Value

See Also

decompose, stl

Examples

Run this code
library(ggplot2)
m <- decompose(co2)
autoplot(m)

Run the code above in your browser using DataLab