## S3 method for class 'forecast':
plot(x, include, plot.conf = TRUE, shaded = TRUE, shadecols
= switch(1 + (length(x$level) > 1), 7, length(x$level):1),
shadepalette=heat.colors(length(x$level)+2)[-1], lambda = NULL,
col = 1, fcol = 4, pi.col=1, pi.lty=2, ylim = NULL, main = NULL,
ylab = "", xlab = "", ...)
## S3 method for class 'splineforecast':
plot(x,fitcol=2,...)
forecast
.InvBoxCox
.shade=FALSE
and plot.conf=TRUE
, the prediction intervals are plotted in this colour.shade=FALSE
and plot.conf=TRUE
, the prediction intervals are plotted using this line type.plot
.plot.ts
deaths.fit <- hw(USAccDeaths,h=48)
plot(deaths.fit)
Run the code above in your browser using DataCamp Workspace