[R] Histogram: plot by group
Jim Lemon
jim at mail.bitwrit.com.au
Wed Jan 4 01:59:05 CET 2012
> I want to make a histogram in R of the data in attached excel file called
> 'cbt'. However, I need the histogram to show a separation for Group 1 and
> Group 2, as in attached image.
>
> How do I do this in R? I know how to make a histogram for a single group,
> but how can I separate the 2 groups?
>
Hi Layo909,
Have a look at the barp function (plotrix) example for a multiple histogram.
Jim
More information about the R-help
mailing list