lme4 (version 0.3-6)

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

Arguments

Value

  • an object of class VarCorr.

See Also

lme, GLMM, VarCorr-class

Examples

Run this code
data(bdf, package = "nlme")
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