Usage
## S3 method for class 'gcmr':
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 = FALSE, ...)Arguments
x
a fitted model object of class gcmr.
which
numeric. If a subset of the plots is required, specify a subset of the numbers 1:6.
caption
character. Captions to appear above the plots.
main
character. Title to each plot in addition to the above caption.
ask
logical. If TRUE, the user is asked before each plot.
level
numeric. Confidence level in the normal probability plot. The default is 0.95.
col.lines
color for lines. The default is "gray".
time.series
logical. If TRUE, four plots suitable for time series data are displayed.
...
other parameters to be passed through to plotting functions.