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@method == "REML", useScale = x@useScale, \dots)
lmer
.sc <- 1
is used.VarCorr
.lmer
function and lmer
class;
the result class VarCorr
.data(sleepstudy)
(fm2 <- lmer(Reaction ~ Days + (1|Subject) + (0+Days|Subject),
data = sleepstudy))
(VC <- VarCorr(fm2))
Run the code above in your browser using DataLab