Description Usage Arguments Value Author(s) See Also Examples
Functions to plot a time series from the M competition data sets, showing both the training and test sections of the series with forecasts obtained from difference forecasting methods .
1 2 |
x |
The dataset of M-competition data in list format as M3Year, M3Quart, M3Month and M3Other |
si |
Name of a time series |
method |
Name or vector of names of forecasting methods |
plot.ts returns a dygraphs object. This function produces a time series plot
of the selected series with forecast obtained from difference forecasting methods.
Andrey Davydenko, Maxim and Sai Van Cuong from Volgograd State Technical University
M3Year, M3Quart, M3Month, M3Other, M3Arima
1 2 3 4 5 6 7 8 9 10 11 12 | plot.ts(M3Year, si = "Y1")
plot.ts(M3Year, si = "Y1", method = c("HOLT", "SINGLE", "NAIVE2"))
plot.ts(M3Quart, si = "Q4")
plot.ts(M3Quart, si = "Q4", method = c("HOLT", "SINGLE", "NAIVE2"))
plot.ts(M3Month, si = "M598")
plot.ts(M3Month, si = "M598", method = c("HOLT", "SINGLE", "NAIVE2"))
plot.ts(M3Other, si = "O15")
plot.ts(M3Other, si = "O15", method = c("HOLT", "SINGLE"))
plot.ts(M3Other, si = "O15", method = c("HOLT", "SINGLE", "NAIVE2"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.