plot.ets

0th

Percentile

Plot components from ETS model

Produces a plot of the level, slope and seasonal components from an ETS model.

autoplot will produce an equivelant plot as a ggplot object.

Keywords
hplot
Usage
"plot"(x, ...) "autoplot"(object, ...)
Arguments
x
Object of class “ets”.
object
Object of class “ets”. Used for ggplot graphics (S3 method consistency).
...
Other plotting parameters to affect the plot.
Value

See Also

ets

Aliases
  • plot.ets
  • autoplot.ets
Examples
fit <- ets(USAccDeaths)
plot(fit)
plot(fit,plot.type="single",ylab="",col=1:3)

library(ggplot2)
autoplot(fit)
Documentation reproduced from package forecast, version 7.3, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.