Re: [R] Histogram: plot by group

2012-01-03 Thread Jim Lemon
> 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 group

Re: [R] Histogram: plot by group

2012-01-03 Thread ONKELINX, Thierry
Nameless, http://had.co.nz/ggplot2/geom_histogram.html has a few examples ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek / Research Institute for Nature and Forest team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance Kliniekstraat 25 1070 Anderlecht Belgium thierry.