[R] Histogram: plot by group

Layo909 rossahmed at gmail.com
Tue Jan 3 08:58:16 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?

http://r.789695.n4.nabble.com/file/n4256052/hist.jpg 

http://r.789695.n4.nabble.com/file/n4256052/cbt.xls cbt.xls 

--
View this message in context: http://r.789695.n4.nabble.com/Histogram-plot-by-group-tp4256052p4256052.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list