I use lme like this :
> lme(yield~hm*variety,data=donnees,random=~grandrep/hm+rep+block%in%rep)
and I get this message :
Error in getGroups.data.frame(dataMix, groups) :
Invalid formula for groups
Thanks
"Liaw, Andy" <andy_liaw@merck.com> wrote:
Springer is currently having a Statistics sale. Not sure if Pinhiero &
Bates is on the list though...
Best,
Andy
> From: Spencer Graves
>
> Have you seen Pinheiro and Bates (2000) Mixed-Effects
> Models in S
> and S-Plus (Springer)? I read that book, worked the examples, and
> learned how to do it. It's currently advertised for EUR 184,95 from
> Amazon.fr but only $85 from Amazon.com; I suspect you could
> order from
> Amazon.com, pay international shipping and still get it cheaper and
> faster than from Amazon.fr.
>
> If you "have problems in random", please provide an
> example of the
> error message you get -- and "
>
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html".
>
> hope
> this helps. spencer graves
>
> Papy Gaston wrote:
>
> >In a lattice 11x11 with 6 repetitions, we want to compare
> lines to their two parents. 3 of the 6 repetitions are
> sprinkled and the 3 others not. There are 5 factors : hm
> (hydrous mode), variety, block, rep and grandrep. grandrep
> gathers two repetition, a sprinkled and a not (as in Split
> Plot !). I use lme but I have problems in random. Can someone
> help me ?
> >Ibnou DIENG
> >
> >
> >
> >
> >---------------------------------
> >
> >
> >
> > [[alternative HTML version deleted]]
> >
> >______________________________________________
> >R-help@stat.math.ethz.ch mailing list
> >https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> >PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
> >
> >
>
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>
>
------------------------------------------------------------------------------
Notice: This e-mail message, together with any attachments, ...{{dropped}}