Description Usage Arguments Value Examples
Residualbased diagnostic plots for cumulative link and general regression
models using ggplot2
graphics.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56  autoplot.resid(object, what = c("qq", "fitted", "covariate"), x = NULL,
fit = NULL, distribution = qnorm, ncol = NULL, alpha = 1,
xlab = NULL, color = "#444444", shape = 19, size = 2,
qqpoint.color = "#444444", qqpoint.shape = 19, qqpoint.size = 2,
qqline.color = "#888888", qqline.linetype = "dashed", qqline.size = 1,
smooth = TRUE, smooth.color = "red", smooth.linetype = 1,
smooth.size = 1, fill = NULL, ...)
autoplot.clm(object, what = c("qq", "fitted", "covariate"), x = NULL,
ncol = NULL, alpha = 1, xlab = NULL, color = "#444444", shape = 19,
size = 2, qqpoint.color = "#444444", qqpoint.shape = 19,
qqpoint.size = 2, qqline.color = "#888888", qqline.linetype = "dashed",
qqline.size = 1, smooth = TRUE, smooth.color = "red",
smooth.linetype = 1, smooth.size = 1, fill = NULL, ...)
autoplot.glm(object, what = c("qq", "fitted", "covariate"), x = NULL,
ncol = NULL, alpha = 1, xlab = NULL, color = "#444444", shape = 19,
size = 2, qqpoint.color = "#444444", qqpoint.shape = 19,
qqpoint.size = 2, qqline.color = "#888888", qqline.linetype = "dashed",
qqline.size = 1, smooth = TRUE, smooth.color = "red",
smooth.linetype = 1, smooth.size = 1, fill = NULL, ...)
autoplot.lrm(object, what = c("qq", "fitted", "covariate"), x = NULL,
ncol = NULL, alpha = 1, xlab = NULL, color = "#444444", shape = 19,
size = 2, qqpoint.color = "#444444", qqpoint.shape = 19,
qqpoint.size = 2, qqline.color = "#888888", qqline.linetype = "dashed",
qqline.size = 1, smooth = TRUE, smooth.color = "red",
smooth.linetype = 1, smooth.size = 1, fill = NULL, ...)
autoplot.orm(object, what = c("qq", "fitted", "covariate"), x = NULL,
ncol = NULL, alpha = 1, xlab = NULL, color = "#444444", shape = 19,
size = 2, qqpoint.color = "#444444", qqpoint.shape = 19,
qqpoint.size = 2, qqline.color = "#888888", qqline.linetype = "dashed",
qqline.size = 1, smooth = TRUE, smooth.color = "red",
smooth.linetype = 1, smooth.size = 1, fill = NULL, ...)
autoplot.polr(object, what = c("qq", "fitted", "covariate"), x = NULL,
ncol = NULL, alpha = 1, xlab = NULL, color = "#444444", shape = 19,
size = 2, qqpoint.color = "#444444", qqpoint.shape = 19,
qqpoint.size = 2, qqline.color = "#888888", qqline.linetype = "dashed",
qqline.size = 1, smooth = TRUE, smooth.color = "red",
smooth.linetype = 1, smooth.size = 1, fill = NULL, ...)
autoplot.vgam(object, what = c("qq", "fitted", "covariate"), x = NULL,
ncol = NULL, alpha = 1, xlab = NULL, color = "#444444", shape = 19,
size = 2, qqpoint.color = "#444444", qqpoint.shape = 19,
qqpoint.size = 2, qqline.color = "#888888", qqline.linetype = "dashed",
qqline.size = 1, smooth = TRUE, smooth.color = "red",
smooth.linetype = 1, smooth.size = 1, fill = NULL, ...)
autoplot.vglm(object, what = c("qq", "fitted", "covariate"), x = NULL,
ncol = NULL, alpha = 1, xlab = NULL, color = "#444444", shape = 19,
size = 2, qqpoint.color = "#444444", qqpoint.shape = 19,
qqpoint.size = 2, qqline.color = "#888888", qqline.linetype = "dashed",
qqline.size = 1, smooth = TRUE, smooth.color = "red",
smooth.linetype = 1, smooth.size = 1, fill = NULL, ...)

object 
An object of class 
what 
Character string specifying what to plot. Default is 
x 
A vector giving the covariate values to use for residualby
covariate plots (i.e., when 
fit 
The fitted model from which the residuals were extracted. (Only
required if 
distribution 
Function that computes the quantiles for the reference
distribution to use in the quantilequantile plot. Default is 
ncol 
Integer specifying the number of columns to use for the plot
layout (if requesting multiple plots). Default is 
alpha 
A single values in the interval [0, 1] controlling the opacity
alpha of the plotted points. Only used when 
xlab 
Character string giving the text to use for the xaxis label in
residualbycovariate plots. Default is 
color 
Character string or integer specifying what color to use for the
points in the residual vs fitted value/covariate plot.
Default is 
shape 
Integer or single character specifying a symbol to be used for plotting the points in the residual vs fitted value/covariate plot. 
size 
Numeric value specifying the size to use for the points in the residual vs fitted value/covariate plot. 
qqpoint.color 
Character string or integer specifying what color to use for the points in the quantilequantile plot. 
qqpoint.shape 
Integer or single character specifying a symbol to be used for plotting the points in the quantilequantile plot. 
qqpoint.size 
Numeric value specifying the size to use for the points in the quantilequantile plot. 
qqline.color 
Character string or integer specifying what color to use for the points in the quantilequantile plot. 
qqline.linetype 
Integer or character string (e.g., 
qqline.size 
Numeric value specifying the thickness of the line in the quantilequantile plot. 
smooth 
Logical indicating whether or not too add a nonparametric
smooth to certain plots. Default is 
smooth.color 
Character string or integer specifying what color to use for the nonparametric smooth. 
smooth.linetype 
Integer or character string (e.g., 
smooth.size 
Numeric value specifying the thickness of the line for the nonparametric smooth. 
fill 
Character string or integer specifying the color to use to fill
the boxplots for residualbycovariate plots when 
... 
Additional optional arguments to be passed onto

A "ggplot"
object.
1 2  # See ?resids for an example
?resids

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.