
lme
, or a generalized
linear mixed-effects model. When appropriate,
the within-group error variance and standard deviation are also
calculated.## S3 method for class 'mer':
VarCorr(x, REML = x@status["REML"], \dots)
## S3 method for class 'lmer2':
VarCorr(x, REML = NULL, \dots)
## S3 method for class 'nlmer':
VarCorr(x, \dots)
lmer
(or, temporarily, class
lmer2
).VarCorr
.lmer
function and lmer
class;
the result class VarCorr
.(fm2 <- lmer(Reaction ~ Days + (1|Subject) + (0+Days|Subject),
data = sleepstudy))
(VC <- VarCorr(fm2))
Run the code above in your browser using DataLab