Learn R Programming

influence.ME (version 0.8.1)

dp.ME.cook: Dotplot visualization of Cook's Distance

Description

This is a wrapper function to the dotplot() function in the lattice-package. It transforms the output from the ME.cook() function and calls dotplot() to provide the user with a visualization of the Cook's Distances.

Usage

dp.ME.cook(estex, parameters = 0, groups = 0, cutoff = 0, sort=FALSE, ...)

Arguments

See Also

estex, ME.cook, dp.ME.dfbetas, dp.ME.pchange

Examples

Run this code
data(school23)
model <- lmer(math ~ structure + SES  + (1 | school.ID), data=school23)

alt.est <- estex(model, "school.ID")
dp.ME.cook(alt.est)
dp.ME.cook(alt.est, cutoff=.17)

Run the code above in your browser using DataLab