lme4 (version 0.95-3)

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.

Usage

VarCorr(x, ...)

Arguments

x
a fitted model object, usually an object inheriting from class lmer.
...
Additional, optional arguments for some methods. At present none are used.

Value

  • an object of class VarCorr.

See Also

lmer, VarCorr-class

Examples

Run this code
(fm1 <- lmer(decrease ~ treatment + (1|rowpos) + (1|colpos),
             OrchardSprays))
VarCorr(fm1)

Run the code above in your browser using DataCamp Workspace