powered by
autoplot will produce an equivelant plot as a ggplot object.
autoplot
"plot"(x, ...) "autoplot"(object, ...)
ets
fit <- ets(USAccDeaths) plot(fit) plot(fit,plot.type="single",ylab="",col=1:3) library(ggplot2) autoplot(fit)
Run the code above in your browser using DataLab