dfbetaPlots(model, ...)
dfbetasPlots(model, ...)
"dfbetaPlots"(model, terms= ~ ., intercept=FALSE, layout=NULL, ask,
main, xlab, ylab, labels=rownames(dfbeta), id.method="y", id.n=if(id.method[1]=="identify") Inf else 0, id.cex=1, id.col=palette()[1], id.location="lr", col=palette()[1], grid=TRUE, ...)
"dfbetasPlots"(model, terms=~., intercept=FALSE, layout=NULL, ask,
main, xlab, ylab, labels=rownames(dfbeta), id.method="y", id.n=if(id.method[1]=="identify") Inf else 0, id.cex=1, id.col=palette()[1], id.location="lr", col=palette()[1], grid=TRUE, ...)
lm
or glm
.
~.
is to plot against all terms in the model with the exception of an intercept. For example, the
specification terms = ~.-X3
would plot against all terms
except for X3
. If this argument is a quoted name of one of the terms, the
index plot is drawn for that term only.
FALSE
.c(1, 1)
or c(4, 3)
, the layout
of the graph will have this many rows and columns. If not set, the program
will select an appropriate layout. If the number of graphs exceed nine, you
must select the layout yourself, or you will get a maximum of nine per page.
If layout=NA
, the function does not set the layout and the user can
use the par
function to control the layout, for example to have
plots from two models in the same graphics window.
"Index"
.TRUE
, ask the user before drawing the next plot; if FALSE
, the default, don't ask.
plot
, points
, and showLabels
id.n=0
for labeling no points. See
showLabels
for details of these arguments.
palette
.TRUE
, the default, a light-gray background grid is put on the
graphNULL
. These functions are used for their side effect: producing
plots.
dfbeta
,dfbetas
dfbetaPlots(lm(prestige ~ income + education + type, data=Duncan))
dfbetasPlots(glm(partic != "not.work" ~ hincome + children,
data=Womenlf, family=binomial))
Run the code above in your browser using DataLab