powered by
These functions extract various elements of the design of a fitted lme-, mer or lmerMod-Object. They are called by exactRLRT and exactLRT.
lme
mer
lmerMod
exactRLRT
exactLRT
extract.lmeDesign(m)
a fitted lme- or merMod-Object
merMod
a a list with components
Vr estimated covariance of the random effects divided by the estimated variance of the residuals
Vr
X design of the fixed effects
X
Z design of the random effects
Z
sigmasq variance of the residuals
sigmasq
lambda ratios of the variances of the random effects and the variance of the residuals
lambda
y response variable
y
# NOT RUN { library(nlme) design <- extract.lmeDesign(lme(distance ~ age + Sex, data = Orthodont, random = ~ 1)) str(design) # }
Run the code above in your browser using DataLab