Displaying 1 result from an estimated 1 matches for "drug_data".
Did you mean:
debug_data
2011 Aug 05
1
Displaying a summary in graphics
...39;m writing a script which puts together a bunch of graphs and outputs them to a graphics device. One of the things I want to add is ANOVA summaries but I'm having trouble with formatting them for graphics.
I do this:
anova_summary <- summary(aov(concentration~inhibition*genotype, data =drug_data))
print(anova_summary)
The printout to the R console is in the format I want but if I do this:
mtext(side=1, outer=TRUE, text=anova_summary, cex=0.75, line=1, adj=0)
I don't get the proper formatting.
I gather, from the documentation and searching the web, that the issue is that summary(...