Have a look at http://had.co.nz/ggplot2/stat_density.html You'll find some 
exampled and the code to generate them.


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
+ 32 2 525 02 51
+ 32 54 43 61 85
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 
SMcG
Verzonden: vrijdag 2 maart 2012 13:49
Aan: r-help@r-project.org
Onderwerp: [R] Statistical Histograms in R

Hi, 

I'm wondering if anybody could possibly help me? 
I have a table with 5 tab-delimited columns. Each column has 'e-value'
scores for 5 different proteins. 

I'd like to plot a distribution curve using hist() for the 5 different proteins 
and show the 5 distribution curves on the same graph in different colours. 
In the case, E-values will be the X-axis and frequency will be the Y-axis. 

Is this at all possible? 

Thanks. 

--
View this message in context: 
http://r.789695.n4.nabble.com/Statistical-Histograms-in-R-tp4438336p4438336.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