| extract.lmeDesign {RLRsim} | R Documentation |
Extract the Design of a linear mixed model
Description
These functions extract various elements of the design of a fitted
lme-, mer or lmerMod-Object. They are called by
exactRLRT and exactLRT.
Usage
extract.lmeDesign(m)
Arguments
m |
a fitted |
Value
a a list with components
-
Vrestimated covariance of the random effects divided by the estimated variance of the residuals -
Xdesign of the fixed effects -
Zdesign of the random effects -
sigmasqvariance of the residuals -
lambdaratios of the variances of the random effects and the variance of the residuals -
yresponse variable
Author(s)
Fabian Scheipl, extract.lmerModDesign by Ben Bolker.
Many thanks to Andrzej Galecki and Tomasz Burzykowski for bug fixes.
Examples
library(nlme)
design <- extract.lmeDesign(lme(distance ~ age + Sex, data = Orthodont,
random = ~ 1))
str(design)
[Package RLRsim version 3.1-8 Index]