[R] Multiple grouping on the X axis.

Greg Snow Greg.Snow at imail.org
Fri Dec 4 20:26:01 CET 2009


The boxplot function has an 'at' argument that you can use to specify where to plot the boxes, could you just use this to group the boxplots?

Or the lattice package can put each group into its own panel to show the grouping.

Hope this helps,

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
801.408.8111


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Munin
> Sent: Thursday, December 03, 2009 3:21 PM
> To: r-help at r-project.org
> Subject: Re: [R] Multiple grouping on the X axis.
> 
> 
> This looks like exactly what I was looking for, except I forgot to
> mention
> that they are looking for box-plots.  Any ideas on a package that can
> do the
> same kind of organization but with box-plots?
> 
> 
> Jim Lemon wrote:
> >
> > Hi Munin,
> > Look at hierobarp in the plotrix package. The current version doesn't
> > have the recently programmed option to pass a list of arrays with the
> > values, so if you want this capability, I will email the new code.
> >
> > Jim
> >
> > ______________________________________________
> > R-help at r-project.org 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.
> >
> >
> 
> --
> View this message in context: http://n4.nabble.com/Multiple-grouping-
> on-the-X-axis-tp932397p948056.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at r-project.org 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.




More information about the R-help mailing list