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 a straightforward way to plot barplots
for a specific factor with the constraint that those values are taken from
only the cells of a second factor B? for instance, if A contained three
different tasks (levels), B two different drug treatments and C three groups
of patients, and I wanna plot the baoxplots for the different tasks, but
/only/ for one particular patient group, how can i do this without
separating the data.frame into several arrays? i tried something like
plot(dataSubjects~factorA|factorC, data=mydata)
but apparently it does not work. Any help on this is highly appreciated.
cheers
Alex
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.