[R] Labeling barplot bars by multiple factors

Jim Lemon jim at bitwrit.com.au
Thu May 28 12:46:44 CEST 2009

Thomas Levine wrote:
> I want to plot quantitative data as a function of three two-level factors.
> How do I group the bars on a barplot by level through labeling and spacing?
> Here <http://www.thomaslevine.org/sample_multiple-factor_barplot.png>'s what
> I'm thinking of. Also, I'm pretty sure that I want a barplot, but there may
> be something better.
Hi Tom,
You may find that the hierobarp function in the plotrix package will do 
what you want.


More information about the R-help mailing list