plot.HoltWinters {ts} | R Documentation |
Produces a chart of the original time series along with the fitted values. Optionally, predicted values (and their confidence bounds) can also be plotted.
## S3 method for class 'HoltWinters'
plot(x, predicted.values = NA, intervals = TRUE,
separator = TRUE, col = 1, col.predicted = 2,
col.intervals = 4, lty.separator = 3,
ylab = "Observed / Fitted",
main = "Holt-Winters filtering", ...)
x |
Object of class |
predicted.values |
Predicted values as returned by |
intervals |
If |
separator |
If |
col |
Color of original data (default: black) |
col.predicted |
Color of fitted/predicted values (default: black). |
col.intervals |
Color of predicition intervals (default: blue). |
lty.separator |
Line type of the separator (default: dashed line). |
ylab |
Label of the y-axis. |
main |
Main title. |
... |
Other graphics parametes. |
David Meyer david.meyer@ci.tuwien.ac.at
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, Management Science 6, 324–342.
HoltWinters
, predict.HoltWinters