Full_Name: Din Chen Version: 2.4.0 OS: Windows XP Submission from: (NULL) (66.17.122.18) I just updated the R.2.4.0. and got the error message for random effect modelling, which was working on R.2.3.1. library(lme4) mmod <- lmer(bright ~ 1+(1|operator), pulp) summary(mmod) Then when I tried to extract the residuals and random effect using: resid(mmodr) ranef(mmodr) I got error message: Error in resid(mmod) : no slot of name "family" for this object of class "lmer"
din.chen at sdstate.edu writes:> Full_Name: Din Chen > Version: 2.4.0 > OS: Windows XP > Submission from: (NULL) (66.17.122.18) > > > I just updated the R.2.4.0. and got the error message for random effect > modelling, which was working on R.2.3.1. > > library(lme4) > mmod <- lmer(bright ~ 1+(1|operator), pulp) > summary(mmod) > > Then when I tried to extract the residuals and random effect using: > resid(mmodr) > ranef(mmodr) > > I got error message: > > Error in resid(mmod) : no slot of name "family" for this object of class "lmer"The convention is that bugs in contributed packages should be reported to the maintainer, not r-bugs. Did you reinstall the package for 2.4.0? -- O__ ---- Peter Dalgaard ?ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
On 10/14/06, din.chen at sdstate.edu <din.chen at sdstate.edu> wrote:> Full_Name: Din Chen > Version: 2.4.0 > OS: Windows XP > Submission from: (NULL) (66.17.122.18) > > > I just updated the R.2.4.0. and got the error message for random effect > modelling, which was working on R.2.3.1. > > library(lme4) > mmod <- lmer(bright ~ 1+(1|operator), pulp) > summary(mmod) > > Then when I tried to extract the residuals and random effect using: > resid(mmodr) > ranef(mmodr) > > I got error message: > > Error in resid(mmod) : no slot of name "family" for this object of class "lmer"Insufficient testing by the author. I need to modify the resid methods for the new class definitions. I'll upload lme4_0.9975-6 with a fix for this later today. The ranef method does work ok, I believe.