[R] Repeated Measures/Split-Plot Anova

Dieter Menne dieter.menne at menne-biomed.de
Tue Jan 15 18:16:58 CET 2008


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




More information about the R-help mailing list