plot.estex {influence.ME} | R Documentation |
Dotplot visualization of measures of influence
Description
This is a wrapper function to the dotplot() function in the lattice-package.
Usage
## S3 method for class 'estex'
plot(x, which="dfbetas", sort=FALSE, to.sort=NA, abs=FALSE, cutoff=0,
parameters=seq_len(ncol(estex$alt.fixed)),
groups=seq_len(nrow(estex$alt.fixed)), ...)
Arguments
x |
An object as returned by the influence() function, containing the altered estimates of a mixed effects regression model. |
which |
Select which measure of influence is to be plotted. Available options are: |
sort |
If |
to.sort |
Specify on which variable the values of the selected measure of influence must be sorted. If only one variable present (either in the model, or due to the selection specified in |
abs |
If |
cutoff |
Values of the selected measure of influence exceeding the specified ( |
parameters |
Used to define a selection of parameters. If left unspecified (default), values for the selected measure of influence are visualized for parameters in the model. |
groups |
Used to define a selection of nesting groups that should be visualized. If left unspecified (default), the values of the selected measure of influence for all nesting groups are shown. |
... |
Further arguments passed on to the dotplot() function. |
Author(s)
Rense Nieuwenhuis, Ben Pelzer, Manfred te Grotenhuis
See Also
influence
, dfbetas.estex
,
cooks.distance.estex
, pchange
, sigtest
Examples
## Not run:
data(school23)
model <- lmer(math ~ structure + SES + (1 | school.ID), data=school23)
alt.est <- influence(model, "school.ID")
plot(alt.est, which="dfbetas")
plot(alt.est, which="cook", sort=TRUE)
## End(Not run)