## S3 method for class 'forecast':
plot(x, include, plot.conf=TRUE, shaded=TRUE,
shadebars=(length(x$mean)<5), shadecols="NULL," col="1," fcol="4," pi.col="1," pi.lty="2," ylim="NULL," main="NULL," ylab="" ,="" xlab="" type="l" ...)<="" p="">## S3 method for class 'splineforecast':
plot(x, fitcol=2, type="o", pch=19, ...)
5),>
forecast
.shaded=FALSE
. Bars are plotted by default if there are fewer than five forecast horizons.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.default
.type=="p"
or type=="o"
).plot
.plot.ts
deaths.fit <- hw(USAccDeaths,h=48)
plot(deaths.fit)
Run the code above in your browser using DataLab