plot.glmRob {robust} | R Documentation |
Diagnostic Regression Plots
Description
Creates a set plots useful for assessing a robustly fitted generalized linear model. The plot options are (2) Deviance Residuals vs. Predicted Values, (3) Response vs. Predicted Values, (4) Normal QQ Plot of Pearson Residuals, (5) QQ Plot of Deviance Residuals, (6) Standardized Deviance Residuals vs. Robust Distances, (7) Standardized Deviance Residuals vs. Index (Time), and (8) Sqrt of abs(Deviance Residuals) vs. Fitted Values.
Usage
## S3 method for class 'glmRob'
plot(x, which.plots = c(2, 5, 7, 6), ...)
Arguments
x |
a glmRob object. |
which.plots |
either "ask", "all", or an integer vector specifying which plots to draw. If |
... |
additional arguments are pass to the ploting subfunctions which are listed in the see also section. |
Details
This function casts the glmRob object as an glmfm object containing a single model. The actual ploting is then done by the function plot.glmfm
.
Value
x
is invisibly returned.
Side Effects
The selected plots are drawn on a graphics device.
References
Atkinson, A. C. (1985). Plots, Transformations and Regression. New York: Oxford University Press.
See Also
plot
,
glmRob
,
plot.glmfm
.