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.onkel...@inbo.be
www.inbo.be

To call in the statistician after the experiment is done may be no more than 
asking him to perform a post-mortem examination: he may be able to say what the 
experiment died of.
~ Sir Ronald Aylmer Fisher

The plural of anecdote is not data.
~ Roger Brinner

The combination of some data and an aching desire for an answer does not ensure 
that a reasonable answer can be extracted from a given body of data.
~ John Tukey


-----Oorspronkelijk bericht-----
Van: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Namens 
Layo909
Verzonden: dinsdag 3 januari 2012 8:58
Aan: r-help@r-project.org
Onderwerp: [R] Histogram: plot by group

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.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to