[R-sig-ME] Fw: problem with ranef
arun
smartpink111 at yahoo.com
Sun May 6 20:26:06 CEST 2012
----- Forwarded Message -----
From: arun <smartpink111 at yahoo.com>
To: Gabriela de Queiroz <gabidequeiroz at gmail.com>
Cc:
Sent: Sunday, May 6, 2012 2:25 PM
Subject: Re: [R-sig-ME] problem with ranef
Have you tried
fm3 <- lmer(diameter ~ 1+ (1|plate)+(1|sample), Penicillin),
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