Hi all,

I just tried to use the studres function in the MASS package to get the studentized residuals from my lmer analysis, which has been saved to mer object me1.

This plot of residuals works fine:
plot(fitted(me1), residuals(me1))

But this gives me an error:
plot(fitted(me1), studres(me1))

The error is:
Error in plot(fitted(me1), studres(me1)) :
            error in evaluating the argument 'y' in selecting a method for function 'plot': Error: $ operator not defined for this S4 class.



I get a similar error when I try to use standardized residuals instead:
plot(fitted(me1), rstandard(me1))

gives me the error:
Error in plot(fitted(me1), rstandard (me1)) :
            error in evaluating the argument 'y' in selecting a method for function 'plot': Error in UseMethod("rstandard") :
            no applicable method for 'rstandard' applied to object of class "mer"


At this point, I don't mind whether I use the standardized or the studentized residuals for residuals examination. Can anyone point me to a function that produces either for mer class objects? Or should I just use mcp.fnc from the LMERConvenienceFunctions package?

Cheers
Michelle





UNCLASSIFIED

**********************************************************************
This email and any files transmitted with it are confide...{{dropped:12}}


