Hi, My name is Dan Ott and I recently learned R mainly for the purposing of running ANOVA's and linear regression. I just started using a data set where I want to run a repeated measures anova as well as a split-plot anova. My question is: What is the syntax for repeated measures and split-plot anova's? I did a little searching online and it appears that aov might be used for a repeated measures anova, opposed to lm. Is this code correct? Thanks, Dan Ott
Dan Ott <ott <at> unbc.ca> writes:> My name is Dan Ott and I recently learned R mainly for the purposing > of running ANOVA's and linear regression. I just started using a data > set where I want to run a repeated measures anova as well as a > split-plot anova. My question is: What is the syntax for repeated > measures and split-plot anova's? > > I did a little searching online and it appears that aov might be used for > a repeated measures anova, opposed to lm. Is this code correct? >It's possible with aov, using lme in package nlme might be a much better choice. The book by Pinheiro/Bates coming with it is a must have. Just don't expect to see word "repeated measures" in it, but be assured that the mixed-model concept is MUCH more user friendly. Dieter
Possibly Parallel Threads
- Why can repeated measures anova with within & between subjects design not be done if group sizes are unbalanced?
- anova vs aov commands for anova with repeated measures
- repeated measures anova, sphericity, epsilon, etc
- random error with lme for repeated measures anova
- Sphericity test in R for repeated measures ANOVA