VarCorr {lme4}R Documentation

Extract variance and correlation components

Description

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

Value

an object of class VarCorr.

See Also

lme, GLMM, VarCorr-class

Examples

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

[Package lme4 version 0.6-9 Index]