Skip to content
Prev 274409 / 398506 Next

Perform 20 x one-way anova in 1 go

This is one solution

?sapply

sapply(data.frame(iris$Sepal.Length, iris$Sepal.Width,
iris$Petal.Length, iris$Petal.Width), function(x)
(summary(aov(x~iris$Species))))
On Tue, Oct 11, 2011 at 5:10 PM, Joshua Wong <gryphonmonsterr at yahoo.com> wrote: