Plot a random.effects.lmList Object

Usage

plot(object, outer,  ...)

Arguments

object an object inheriting from class random.effects.lmList, representing the estimated coefficients or estimated random effects for the lmList object from which it was produced.
outer an optional one-sided formula specifying the grouping structure to be used for displaying the random effects (coefficients). Single factors (~g) or crossed factors (~g1*g2) are allowed. Default is NULL, in which case the row names of the random effects (coefficients) are used.
... optional arguments passed to the Trellis dotplot function.

Description

A Trellis dot-plot of the random effects is generated, with a different panel for each random effect (coefficient). Rows in the dot-plot are determined by the outer argument (if not missing) or by the row names of the random effects (coefficients). If a single factor is specified in outer, its levels determine the dot-plot rows (with possibly multiple dots per row); otherwise, if outer specifies a crossing of factors, the dot-plot rows are determined by all combinations of the levels of the individual factors in the formula. The Trellis function dotplot is used in this method function.

Value

a Trellis dot-plot of the estimated random-effects (coefficients).

Note

This function requires the trellis library.

Author(s)

Jose Pinheiro and Douglas Bates

See Also

lmList, dotplot

Examples

library(lme)
data(Orthodont)
fm1 <- lmList(distance ~ age, Orthodont, groups = ~Subject)
plot(ranef(fm1))
plot(ranef(fm1, aug = TRUE), outer = ~Sex)


[Package Contents]