Usage
"plot"(x, which = if (!time.series) 1:4 else c(1, 3, 5, 6), caption = c("Residuals vs indices of obs.", "Residuals vs linear predictor", "Normal plot of residuals", "Predicted vs observed values", "Autocorrelation plot of residuals", "Partial ACF plot of residuals"), main = "", ask = prod(par("mfcol")) < length(which) && dev.interactive(), level = 0.95, col.lines = "gray",
time.series = inherits(x$cormat, "arma.gcmr"), ...)
Arguments
x
a fitted model object of class gcmr. which
select one, or more, of the six available plots. The default choice adapts to the correlation structure and selects four plots depending on the fact that the data are a regular time series or not.
caption
captions to appear above the plots.
main
title to each plot in addition to the above caption.
ask
if TRUE, then the user is asked before each plot.
level
confidence level in the normal probability plot. The default is 0.95.
col.lines
color for lines. The default is "gray".
time.series
if TRUE, four plots suitable for time series data are displayed. The default is TRUE when the correlation matrix corresponds to that of ARMA(p,q) process and FALSE otherwise.
...
other parameters to be passed through to plotting functions.