forecast (version 3.05)

plot.ets: Plot components from ETS model

Description

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

Usage

## S3 method for class 'ets':
plot(x, ...)

Arguments

x
Object of class ets.
...
Other plotting parameters passed to par.

Value

  • None. Function produces a plot

See Also

ets

Examples

Run this code
fit <- ets(USAccDeaths)
plot(fit)
plot(fit,plot.type="single",ylab="",col=1:3)

Run the code above in your browser using DataCamp Workspace