Thank you, Martin, for pointing this out (not to mention the missing 
sessionInfo() piece).  Indeed the resid() call works as expected with 
the most recent update of lme4.

Cheers, Joel.


Martin Maechler wrote:
>>>>>> "Joel" == Joel Dubin <[EMAIL PROTECTED]>
>>>>>>     on Fri, 17 Nov 2006 16:19:16 -0500 writes:
>>>>>>             
>
>     Joel> Hello, Indeed, implementing the fitted and resid calls
>     Joel> on the fm1 object from example(lmer), the fitted
>     Joel> function worked, but the resid did not:
>
>     >> resid(fm1)
>     Joel> Error in resid(fm1) : no slot of name "family" for
>     Joel> this object of class "lmer"
>
>     Joel> I am using R 2.4.0 (on Windows XP), with the update of
>     Joel> lme4 (lmer within) written for 2.4.0.
>
> I think you should update lme4 [ update.packages(.....) ],
> since the above looks suspiciously like a bug that had been
> fixed not so long ago.
>
> IIRC, the posting guide asks you to provide  sessionInfo() 
> in such situations.
>
> Regards,
> Martin
>

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to