I tried to post a reply, but for some reason it's not on the mailing list
yet. But I am gonna give it another try. Below is what I tried to send
before:

Thanks for the suggestions! Setting options to warn = 2 works!

I have another question that is probably not very relevant to this specific
mailing list. So I apologize in advance if this is not the right place to
ask it.

I finally got my script to work. The script prints out the result of every
comparison it makes. I've noticed however that every result the script
prints out is followed by something like "<environment: 0x117ff21b8>". I am
not exactly sure what is going on, and I haven't been able to find answers
for it. I wonder if anyone knows what this message means, and how I can
deal with this message (e.g. suppress it).

One thing that I should note is that the script uses many functions in the
workspace, including functions I myself wrote as well as functions such as
lmer(), anova().

Thanks!





On Mon, May 7, 2012 at 3:00 AM, <r-sig-mixed-models-request@r-project.org>wrote:

> Send R-sig-mixed-models mailing list submissions to
>        r-sig-mixed-models@r-project.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
> or, via email, send a message with subject or body 'help' to
>        r-sig-mixed-models-request@r-project.org
>
> You can reach the person managing the list at
>        r-sig-mixed-models-owner@r-project.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of R-sig-mixed-models digest..."
>
>
> Today's Topics:
>
>   1. Re: problem with ranef (Malcolm Fairbrother)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 7 May 2012 10:31:30 +0100
> From: Malcolm Fairbrother <m.fairbrother@bristol.ac.uk>
> To: gabidequeiroz@gmail.com
> Cc: r-sig-mixed-models@r-project.org
> Subject: Re: [R-sig-ME] problem with ranef
> Message-ID: <9A457AC9-E6CE-472B-BF55-642998D1DB26@bristol.ac.uk>
> Content-Type: text/plain; charset=us-ascii
>
> Hi Gabriela,
>
> You'll probably get a more helpful response about this if you provide the
> output from:
>
> sessionInfo()
>
> This will tell people what version of lme4 you're using, among other
> things.
>
> - Malcolm
>
>
>
> > From: Gabriela de Queiroz <gabidequeiroz@gmail.com>
> > To: r-sig-mixed-models@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@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
>
>
>
> ------------------------------
>
> _______________________________________________
> R-sig-mixed-models mailing list
> R-sig-mixed-models@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
>
>
> End of R-sig-mixed-models Digest, Vol 65, Issue 20
> **************************************************
>

	[[alternative HTML version deleted]]

