\HeaderA{plot.HoltWinters}{Plot function for HoltWinters objects}{plot.HoltWinters}
\keyword{ts}{plot.HoltWinters}
\begin{Description}\relax
Produces a chart of the original time series along with the fitted
values. Optionally, predicted values (and their confidence bounds) can
also be plotted.
\end{Description}
\begin{Usage}
\begin{verbatim}
## S3 method for class 'HoltWinters':
plot(x, predicted.values = NA, intervals = TRUE,
        separator = TRUE, col = 1, col.predicted = 2,
        col.intervals = 4, col.separator = 1, lty = 1,
        lty.predicted = 1, lty.intervals = 1, lty.separator = 3,
        ylab = "Observed / Fitted", main = "Holt-Winters filtering",
        ylim = NULL, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] Object of class \code{"HoltWinters"}
\item[\code{predicted.values}] Predicted values as returned by \code{predict.HoltWinters}
\item[\code{intervals}] If \code{TRUE}, the prediction intervals are plotted (default).
\item[\code{separator}] If \code{TRUE}, a separating line between fitted and predicted values is plotted (default).
\item[\code{col, lty}] Color/line type of original data (default: black solid).
\item[\code{col.predicted, lty.predicted}] Color/line type of
fitted and predicted values (default: red solid).
\item[\code{col.intervals, lty.intervals}] Color/line type of prediction
intervals (default: blue solid).
\item[\code{col.separator, lty.separator}] Color/line type of
observed/predicted values separator (default: black dashed).
\item[\code{ylab}] Label of the y-axis.
\item[\code{main}] Main title.
\item[\code{ylim}] Limits of the y-axis. If \code{NULL}, the range is chosen
such that the plot contains the original series, the fitted values,
and the predicted values if any.
\item[\code{...}] Other graphics parametes.
\end{ldescription}
\end{Arguments}
\begin{Author}\relax
David Meyer \email{David.Meyer@wu-wien.ac.at}
\end{Author}
\begin{References}\relax
C. C. Holt (1957)
Forecasting seasonals and trends by exponentially weighted
moving averages,
ONR Research Memorandum, Carnigie Institute 52.

P. R. Winters (1960)
Forecasting sales by exponentially weighted moving averages,
\emph{Management Science} \bold{6}, 324--342.
\end{References}
\begin{SeeAlso}\relax
\code{\LinkA{HoltWinters}{HoltWinters}}, \code{\LinkA{predict.HoltWinters}{predict.HoltWinters}}
\end{SeeAlso}

