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 ______________________________________________ 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.