On Feb 5, 2012, at 8:31 PM, Francis Keyes wrote:

With R and the hist function, is there a way to make a histogram in which the y axis denotes propotion with respect to a separate sample dataset of
the same range instead of frequency?

hist() returns an object with both "counts" and "density". If you had a reference population it should be a fairly simple matter to use one or the other of those.

--
David Winsemius, MD
West Hartford, CT

______________________________________________
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