plregr.control {plgraphics} | R Documentation |
plregr
Specify some arguments of minor importance for the function
plregr
plregr.control(x, data = NULL, xvar = TRUE, transformed = FALSE, weights = NULL, stdresid = TRUE, mar = NULL, glm.restype = "working", condquant = TRUE, smresid = TRUE, partial.resid = TRUE, cookdistlines = 1:2, leveragelimit = c(0.99, 0.5), condprobRange = NULL, refline = TRUE, reflineband = FALSE, testlevel = 0.05, smooth = 2, smooth.sim = NULL, xlabs = NULL, reslabs = NULL, markextremes = NULL, mf = TRUE, mfcol = FALSE, multnrow = 0, multncol = 0, oma = NULL, ...)
x |
an object (result of a call to a model fitting function
such as |
data |
see |
xvar |
variables for which residuals shall be plotted.
Either a formula like |
transformed |
see |
weights |
logical: should residuals be plotted against weights?
Used in |
stdresid |
logical: should leverages and standardized residuals
be calculated? This is avoided for |
mar |
plot margins |
glm.restype |
type of residuals to be used for glm models.
In addition to those allowed in |
condquant |
logical: should conditional quantiles be shown for censored observations, binary and ordered responses? |
smresid |
logical: Should residuals from smooth be used for 'tascale' and 'qq' plots? |
partial.resid |
if TRUE (default), residuals for observations will be displayed. |
cookdistlines |
levels of Cook distance for which contours are plotted in the leverage plot |
leveragelimit |
bound for leverages to be used in standardizing
residuals and in calculation of standardized residuals from smooth
(if |
condprobRange |
numeric vector of length 2.
In the case of residuals of class |
refline |
logical: should reference line be shown? |
reflineband |
logical: should a confidence band be drawn for the component effects? |
testlevel |
level for statistical tests |
smooth |
if TRUE (or 1), smooths are added to the plots where
appropriate. If |
smooth.sim |
number of simulated smooths added to each plot.
If NULL (the default) 19 simulated smooths will be generated if
possible and sensible (i.e., none if |
xlabs |
labels for x variables. Defaults to |
reslabs |
labels for vertical axes |
markextremes |
proportion of extreme residuals to be labeled.
If all points should be labeled, let |
mf |
vector of 2 elements, indicating the number of rows and
columns of panels on each plot page.
Defaults to |
mfcol |
if TRUE, the panel will be filled columnwise |
multnrow, multncol |
number of rows and columns of panels on one page, for residuals of multivariate regression only |
oma |
vector of length 4 giving the number of lines in the outer margin. If it is of length 2, they refer to top an right margins. |
... |
further arguments in the call, to be ignored by 'plotregr.control' |
A list containing all the items needed to specify plotting
in plregr
and plresx
This function is not explicitly called by the user, but by
plregr
and plresx
.
All the arguments specified here can and should be given as
arguments to these functions.
Werner A. Stahel, Seminar for Statistics, ETH Zurich
data(d.blast) ( r.blast <- lm(log10(tremor)~location+log10(distance)+log10(charge), data=d.blast) ) plargs <- plregr.control(r.blast, formula = ~.+distance, transformed=TRUE, smooth.group = location ) showd(plargs$pdata) names(plargs)