[R] anova vs aov commands for anova with repeated measures

Frodo Jedi frodo.jedi at yahoo.com
Sat Jan 8 16:21:32 CET 2011

Dear Dieter,
thanks a lot for your answer. 
Don´t you mind to do an example of the use of the command?

For example, in attachment you find a .csv table resulting from an experiment, 
you can access it by means of this command:

> scrd<-  

The data are from an experiment where participants had to evaluate on a seven 
point likert scale
the realism of some stimuli, which are presented both in condition "A" and in 
condition "AH".

I need to perform the ANOVA by means of this command:

> aov1 = aov(response ~ stimulus*condition + Error(subject/(stimulus*condition)), 

All the best

From: Dieter Menne <dieter.menne at menne-biomed.de>
To: r-help at r-project.org
Sent: Sat, January 8, 2011 3:50:23 PM
Subject: Re: [R] anova vs aov commands for anova with repeated measures

Bill.Venables wrote:
> ...
> If you want to fit a multistratum model, such as a repeated measures
> model, you need to use aov.

...Or lme in nlme / lmer in lme4.


View this message in context: 

Sent from the R help mailing list archive at Nabble.com.

R-help at r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


More information about the R-help mailing list