Description Usage Arguments Details Value Author(s) See Also Examples
Plot a representation of the hybridModel.
1 2 |
x |
an object of class hybridModel to plot. |
type |
if |
ggplot |
should the |
... |
other arguments passed to plot. |
For type = "fit"
, the original series is plotted in black.
Fitted values for the individual component models are plotted in other colors.
For type = "models"
, each individual component model is plotted. Since
there is not plot method for stlm
or nnetar
objects, these component
models are not plotted.
None. Function produces a plot.
David Shaub
1 2 3 4 5 6 | ## Not run:
hm <- hybridModel(woolyrnq, models = "aenst")
plot(hm, type = "fit")
plot(hm, type = "models")
## End(Not run)
|
Loading required package: ggplot2
Loading required package: forecast
Attaching package: 'forecastHybrid'
The following object is masked from 'package:forecast':
accuracy
Fitting the auto.arima model
Fitting the ets model
Fitting the nnetar model
Fitting the stlm model
Fitting the tbats model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.