Hi Wade

You could look at the RLRsim package - the extract.lmeDesign function might
do what you want...

Cheers,
Carina

> Message: 4
> Date: Fri, 7 Jan 2011 14:51:08 -0500
> From: Wade Wall <wade.wall@gmail.com>
> To: r-sig-mixed-models@r-project.org
> Subject: [R-sig-ME] design matrix for mixed effects model
> Message-ID:
       <AANLkTik=VrfA_5-Ud=+enUmSR1_inS4y8hSqiEcSJDm-@mail.gmail.com>
> Content-Type: text/plain

> Hi all,
> Is there a function to recreate the design matrix for mixed models similar
> to the model.matrix function?  I want to be able to calculate the fitted
> values for my own sanity and understanding, but not sure how to add in the
> random effects part of the design matrix.
> Thanks for any help,
> Wade

	[[alternative HTML version deleted]]


