Both of those worked, but hierobarp looked a bit easier, so I used that. The
one annoying thing is that it sorts alphabetically.

Tom

On Thu, May 28, 2009 at 6:46 AM, Jim Lemon <jim@bitwrit.com.au> wrote:

> 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.
>
> Jim
>
>

	[[alternative HTML version deleted]]


