[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<-
>read.csv(file='/Users/....../tables_for_R/table_quality_wood.csv',sep=',',header=T)
>
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)),
>data=scrd)
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.
Dieter
--
View this message in context:
http://r.789695.n4.nabble.com/anova-vs-aov-commands-for-anova-with-repeated-measures-tp3179343p3205018.html
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
R-help at 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.
More information about the R-help
mailing list