[R] ANOVA and within subject designs
Jan Malte Wiener
jan.wiener at tuebingen.mpg.de
Thu Jul 4 11:13:18 CEST 2002
hi,
i am trying to get the same results with aov() as with unix anova.
for some reason i can not figure out what exact formula to use in my
design.
my experiment is a within subject design with 2 factors (routeType and
expBlock).
i tried:
summary(aov(formula= perf ~ expBlock * routeType +
Error(Subject/(Block+RouteType)), data=anovaDataAll))
is there a mistake in the formula ????
my data.frame anovaDataAll looks like this
subject routeType block perf
1
1 1 0.6
2
1 1 0.5
3
1 1
.
.
1
1 2 0.3
2
1 2 0.2
3
1 2 0.7
.
.
.
1
2 1 0.4
2
2 1 0.3
3
2
1
0.6
.
.
.
1
2 2 0.4
2
2 2 0.3
3
2 2 0.6
.
.
.
thanks for help !
jan wiener
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list