[R-sig-ME] mer-class in lme4 package

Ben Bolker bbolker at gmail.com
Tue Nov 20 14:41:51 CET 2012


Cantieni Andrea PHZ Schwyz <andrea.cantieni at ...> writes:

> 
> Hi,
> 
> I'm trying to access the transpose of model matrix 
> (Zt) for the random effects of an object returned by lmer().
> 
> In lme4.0 v0.999999-1 that is easy done via the slots, e.g.
> fm01 <at> Zt, where fm01 is an object of class "mer".
> 
> Can someone explain why this slot (and others) disappeared, e.g. in lme4
v0.99999911-0? And how I can
> access this properties anyway?

  To get the transpose of the model matrix in recent versions of
lme4 (either stable/CRAN or development/R-Forge), please use
getME(fm01,"Zt") ... we have instituted this accessor method because
it gives us more freedom to rearrange the internal storage format
of the models as we see fit, without breaking anyone's code going
forward.

  Ben Bolker



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