plregr.control | 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 = NULL, addcomp = NULL, cookdistlines = NULL,
leveragelimit = NULL, condprob.range = NULL,
testlevel = 0.05,
refline = TRUE,
smooth = 2,
smooth.sim = NULL,
xlabs = NULL, reslabs = NULL, markextremes = NULL,
mf = TRUE, mfcol = FALSE, multnrow = 0, multncol = 0, marmult = NULL,
oma = NULL, assign = TRUE, ...)
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, addcomp |
logical, synonyms: Should component effects be added to the residuals? This leads to what some authors call "partial residual plot". |
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 |
condprob.range |
numeric vector of length 2.
In the case of residuals of class |
testlevel |
level for statistical tests |
refline |
logical: should reference line be shown?
If |
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 |
marmult |
plot margins for scatterplot matrices in the case of multivariate regression |
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. |
assign |
logical: should the result of |
... |
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
plregr
and plresx
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.