[R-sig-ME] Fitted values in lmer
Andy Fugard
a.fugard at ed.ac.uk
Sat Mar 15 13:59:39 CET 2008
Douglas Bates wrote:
> What I was referring to is the na.action attribute of the model frame
Aha, I didn't wade that deeply.
>
> At this point one can get the fitted values with the NA's in the
> correct positions via the thoroughly unobvious
>
>> stats:::naresid.exclude(attr(fm1 at frame, "na.action"), fm1 at mu)
:-)
Many thanks.
Andy
--
Andy Fugard, Postgraduate Research Student
Psychology (Room F3), The University of Edinburgh,
7 George Square, Edinburgh EH8 9JZ, UK
Mobile: +44 (0)78 123 87190 http://www.possibly.me.uk
More information about the R-sig-mixed-models
mailing list