Re: [R] Re peated Measure ANOVA-Old question

2008-07-30 Thread Gavin Simpson
On Wed, 2008-07-30 at 00:49 -0700, Mark Difford wrote: > Hi Chunhao, > > If you carefully read the posting that was referred to you will see that > lme() and not lmer() was used as an example (for using with the multcomp > package). lmer() was only mentioned as an aside... lmer() is S4 and doesn't

Re: [R] Re peated Measure ANOVA-Old question

2008-07-30 Thread Mark Difford
Hi Chunhao, If you carefully read the posting that was referred to you will see that lme() and not lmer() was used as an example (for using with the multcomp package). lmer() was only mentioned as an aside... lmer() is S4 and doesn't work with multcomp, which is S3. Apropos of specifying random

Re: [R] Re peated Measure ANOVA-Old question

2008-07-30 Thread ctu
Tank you (Anna & Mark) very much for this super information Let me confirm that IF I want to perform the RM-ANOVA I should use "lmer" and perform the post-hoc test by using "glht", right? Because I am not so familiar with "lmer" so I have two more questions. Let me use that following example agai

Re: [R] Re peated Measure ANOVA-Old question

2008-07-29 Thread Mark Difford
Hi Chunhao, >> I google the website and I found that there are three ways to perform >> repeated measure ANOVA: aov, lme and lmer. It's also a good idea to search through the archives. >> I use the example that is provided in the above link and I try >> > tt<-aov(p.pa~group*time+Error(subject