[R-sig-ME] problem with ranef

arun smartpink111 at yahoo.com
Sun May 6 20:36:35 CEST 2012


HI,

I was just responding to your other email. 

Which version of R are you using?

I am using the latest version (R 2.15.0).  Never had any problems with ranef, as I used it recently.


A.K. 


----- Original Message -----
From: Gabriela de Queiroz <gabidequeiroz at gmail.com>
To: r-sig-mixed-models at r-project.org
Cc: 
Sent: Sunday, May 6, 2012 12:43 PM
Subject: Re: [R-sig-ME] problem with ranef

Sorry, I mean:

fm1 <- lmer(Reaction ~ Days + (Days|Subject), sleepstudy)
fm2 <- lmer(Reaction ~ Days + (1|Subject) + (0+Days|Subject), sleepstudy)
fm3 <- lmer(diameter ~ (1|plate) + (1|sample), Penicillin)
ranef(fm1)

Error in UseMethod("ranef") :
no applicable method for 'ranef' applied to an object of class "mer"




On Sun, May 6, 2012 at 1:35 PM, Gabriela de Queiroz <gabidequeiroz at gmail.com
> wrote:

> Dear users,
>
> Is there someone having problem with *ranef*? I used that before but now
> it is not working.
>
> I tried the example on the help page but it didn't work.
>
> fm3 <- lmer(diameter ~ (1|plate) + (1|sample), Penicillin)
> > ranef(fm1)
>
> Error in UseMethod("ranef") :
> no applicable method for 'ranef' applied to an object of class "mer"
>
>
> Any thoughts?
>
> - Gabriela
>

    [[alternative HTML version deleted]]

_______________________________________________
R-sig-mixed-models at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models




More information about the R-sig-mixed-models mailing list