[R-sig-ME] residuals for different levels (lmer)

Leo Gürtler leog at anicca-vijja.de
Fri Nov 21 07:49:51 CET 2008


Dear SIG-ME,

is there a way to obtain residuals for the different levels with lmer as
it is possible with lme?

library(nlme)
example(lme)
residuals(fm1, level=0:1)

library(lme4)
example(lmer)
residuals(fm1, level=0:1)

-> the call to 'residuals' in combination with 'lmer' brings only the
residuals of one level.

How can I obtain residuals for different levels?

thanks,
best regards,

leo gürtler




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