[R] ANOVA boxplots

2010-10-06 Thread Jake Kami
Dear list, i have a quick and (hopefully) straightforward question regarding the plot-function after running aov. if i plot an equation like this: plot(dataSubjects~factorA, data=mydata) R gives me the boxplots for this particular factor A. my model, however contains several factors. is there

Re: [R] ANOVA boxplots

2010-10-06 Thread Joshua Wiley
Dear Alex, I would suggest using the lattice package, it handles more complex formulae beautifully. Here is an example using an available dataset and the bwplot() function (which does boxplots). library(lattice) bwplot(mpg~factor(cyl)|factor(am), data = mtcars) Hope that helps, Josh On Wed,

Re: [R] ANOVA boxplots

2010-10-06 Thread RICHARD M. HEIBERGER
Jake, The interaction2wt function in the HH package does something similar. Please look at its examples and see if it satisfies your current need. Look especially at the examples with simple=TRUE. install.packages(HH) ## if you don't already have it library(HH) example(interaction2wt) On Wed,