Usage
# S3 method for 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, …)
Arguments
x
Object of class "HoltWinters"
predicted.values
Predicted values as returned by predict.HoltWinters
intervals
If TRUE
, the prediction intervals are plotted (default).
separator
If TRUE
, a separating line between fitted and predicted values is plotted (default).
col, lty
Color/line type of original data (default: black solid).
col.predicted, lty.predicted
Color/line type of
fitted and predicted values (default: red solid).
col.intervals, lty.intervals
Color/line type of prediction
intervals (default: blue solid).
col.separator, lty.separator
Color/line type of
observed/predicted values separator (default: black dashed).
ylim
Limits of the y-axis. If NULL
, the range is chosen
such that the plot contains the original series, the fitted values,
and the predicted values if any.
…
Other graphics parameters.