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/time),data=P.PA) >> > TukeyHSD(tt) >> Error in UseMethod("TukeyHSD") : no applicable method for "TukeyHSD" Because of ... + Error(). See the following thread, where this is answered: http://www.nabble.com/Tukey-HSD-(or-other-post-hoc-tests)-following-repeated-measures-ANOVA-td17508294.html#a17559307 HTH, Mark. ctu wrote: > > Hi R users, > I google the website and I found that there are three ways to perform > repeated measure ANOVA: aov, lme and lmer. > http://www.mail-archive.com/[EMAIL PROTECTED]/msg58502.html > But the questions are which one is good to use and how to do post-hoc > test? > > I use the example that is provided in the above link and I try >> tt<-aov(p.pa~group*time+Error(subject/time),data=P.PA) >> TukeyHSD(tt) > Error in UseMethod("TukeyHSD") : no applicable method for "TukeyHSD" > > Any suggestions? > > Appreciate in advance~ > Chunhao > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > > -- View this message in context: http://www.nabble.com/Repeated-Measure-ANOVA-Old-question-tp18726146p18726722.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.