Displaying 1 result from an estimated 1 matches for "lupi2".
Did you mean:
lupin
2009 Jul 16
0
how to group the output of aov by a variable?
Hi there,
I am new to R and have what seems to be a simple question. I put together
the following commands in order to run an anova on multiple different
variables at once:
for(i in 10:20)
{subj <- mydata[ which(lupi2$subject=='mas'),]
cat("****************ANOVA for variable:", names(subj[i]))
print(summary(aov(subj[,i]~config*blockType*hemi+Error((freqs*rep)/(config*blockType*hemi)),
data=subj)))}
so I have config, blockType, hemi as within subject factors and the random
effects are freqs and...