[R-sig-ME] Design Matrix for Random effects

W Robert Long longrob604 at gmail.com
Tue May 28 18:44:35 CEST 2013


Hi all

I would like to obtain the design matrix for the random effects, without 
running (g)lmer first.

Could anyone help me do that ? For example, working with the sleepstudy 
dataset

sm1 <- lmer(Reaction ~ Days + (Days|Subject), data=sleepstudy)

sm1 at Zt is the transpose of the matrix I require, but I would like to 
obtain it without running lmer.

Thanks
Robert Long



More information about the R-sig-mixed-models mailing list