plot-methods | R Documentation |
This method provides plot functionalities for the uGASFit, mGASFit, uGASSim, mGASSim, uGASFor, mGASFor, uGASRoll and mGASRoll objects defined in the GAS package.
plot(x, y, ...)
PlotMenu(x)
x , y |
objects of class uGASFit, mGASFit, uGASSim, mGASSim, uGASFor, mGASFor, uGASRoll, mGASRoll. |
... |
additional arguments, see Details |
plot
accepts the additional argument numeric
argument which
. By default which = NULL
. If which
is provided, plot()
does not show the interactive menu and plot the corresponding option. The available options for each object class is printed by the function PlotMenu(x)
. By default which = NULL
, that is, plot()
display an interactive menu.
Displays a plot of an object of class uGASFit, mGASFit, uGASSim, mGASSim, uGASFor, mGASFor, uGASRoll, mGASRoll.
Leopoldo Catania
## Not run:
## Plot filtered estimates of a GAS model estimated on the
## Quarterly logarithmic change in percentage points of the Consumer Price Index data set (cpichg)
library("GAS")
data("cpichg")
GASSpec = UniGASSpec(Dist = "std", ScalingType = "Identity",
GASPar = list(location = TRUE, scale = TRUE,
shape = FALSE))
Fit = UniGASFit(GASSpec, cpichg)
plot(Fit, which = 1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.