Re: [R] plotting two histograms on one plot with hist function

2012-06-27 Thread Blignaut, M, Mej mb...@sun.ac.za
,bty=n, fill=c(Red,Green)) Thanks again for the help! From: John Kane [mailto:jrkrid...@inbox.com] Sent: 26 June 2012 23:27 To: ilai Cc: Blignaut, M, Mej mb...@sun.ac.za; r-help@r-project.org Subject: Re: [R] plotting two histograms on one plot with hist function Oh, I had not thought

[R] plotting two histograms on one plot with hist function

2012-06-26 Thread Blignaut, M, Mej mb...@sun.ac.za
I would like to plot two data sets (frequency (y-axis) of mean values for 0-1(x=axis)) on a single histogram for comparison. The hist() only allow the overlay of two histograms, and although barplot() allows beside=TRUE, it does not show frequency values (like hist) but rather all of the