Usage
av.plots(model, variable, ask=missing(variable), one.page=!ask, ...)
avp(...)
av.plot(model, ...)
av.plot.lm(model, variable, labels=names(residuals(model)),
identify.points=T, las=1, col=palette()[2], pch=1, lwd=2,
main="Added-Variable Plot")
av.plot.glm(model, variable, labels=names(residuals(model)),
identify.points=T, las=1, col=palette()[2], pch=1, lwd=2,
main="Added-Variable Plot", type=c("Wang", "Weisberg"))
Arguments
model
model object produced by lm
or glm
variable
variable (if it exists in the search path) or
name of variable. This argument usually is omitted for avp
or av.plots
.
ask
if TRUE
, a menu is provided in the R Console for the
user to select the term(s) to plot.
one.page
if TRUE
(and ask=F
), put all plots on one
graph.
identify.points
if TRUE
, then identify points interactively.
las
if 0
, ticks labels are drawn parallel to the
axis; set to 1
(the default) for horizontal labels (see par
). col
color for points and lines; the default is the second entry
in the current color palette (see palette
and par
). pch
plotting character for points; default is 1
(a circle, see par
). lwd
line width; default is 2
(see par
). type
if "Wang"
use the method of Wang (1985);
if "Weisberg"
use the method in the Arc software associated with
Cook and Weisberg (1999).
...
arguments to be passed down to av.plot.lm
or
av.plot.glm
.