VarCorr {lme4}R Documentation

Extract variance and correlation components

Description

This function calculates the estimated variances, standard deviations, and correlations between the random-effects terms in a linear mixed-effects model, of class lme, or a generalized linear mixed-effects model, of class glmm. When appropriate, the within-group error variance and standard deviation are also calculated.

Value

an object of class VarCorr.

Author(s)

Saikat DebRoy saikat@stat.wisc.edu and Douglas Bates bates@stat.wisc.edu

See Also

lme, GLMM, VarCorr-class

Examples

data(bdf, package = "nlme")
fm <- lme(langPOST ~ IQ.ver.cen + avg.IQ.ver.cen, data = bdf,
          random = ~ IQ.ver.cen | schoolNR)
VarCorr(fm)

[Package Contents]