[R] Boxplots with similar number of classes....
dwinsemius at comcast.net
Tue Feb 23 00:22:02 CET 2010
On Feb 22, 2010, at 5:11 PM, kupz wrote:
> I have four boxplots, stacked on top of one another (vertically).
> There are
> five classes that the continuous variable is set against. The
> problem I have
> is the data for the second boxplot only contains values for four of
> the five
> I would like to include the space in this graph so there is a
> continuity for
> all of the boxplots, in terms of number of classes. I would include
> a set of
> zeroes, but they are omitted from all graphs for a number of reasons.
> Basically is there anyway to add in that class that isn't being
> plotted for
> this particular boxplot?
Run the fourth example in help(boxplot) and then run this:
> OrchardSprays$treatment <- factor(OrchardSprays$treatment, levels=
> rb <- boxplot(decrease ~ treatment, data = OrchardSprays,
> title("Comparing boxplot()s and non-robust mean +/- SD")
> TIA- Matt http://n4.nabble.com/file/n1565299/b1help.jpg
> View this message in context: http://n4.nabble.com/Boxplots-with-similar-number-of-classes-tp1565299p1565299.html
> Sent from the R help mailing list archive at Nabble.com.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help