lme4 (version 0.8-1)

VarCorr: 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.

Arguments

Value

  • an object of class VarCorr.

See Also

lme, GLMM, VarCorr-class

Examples

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

Run the code above in your browser using DataCamp Workspace