[R] residuals in lmer

From: Jacob Michaelson <jjmichael_at_comcast.net>
Date: Mon 25 Apr 2005 - 12:45:29 EST


Does anyone know how to extract residuals in lmer?

Here's the error I get:
>

crop.lme=lmer(response~variety*irrigation*pesticide+(1|rep)+(1|rep: pesticide)+(1|rep:pesticide:irrigation), crop.data)
> qqnorm(crop.lme)

Error in qqnorm.default(crop.lme) : y is empty or has only NAs
> resid(crop.lme)

NULL Thanks!

--Jake



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 Received on Mon Apr 25 12:50:59 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:25 EST