wsimpson at uwinnipeg.ca
Fri Jul 3 22:36:09 CEST 1998
Can someone please tell me to make a density histogram?
hist makes one with count or relative frequency on the y-axis.
I want the density, which is (rel freq)/(bin width)
In the help I see:
intensities: values f^(x[i]), as estimated density values.
If `all(diff(breaks) == 1)', they are the relative
frequencies `counts/n' and in general satisfy
sum[i; f^(x[i]) (b[i+1]-b[i])] = 1, where
which sounds like what I want but there is no info on how to get this sort
Thanks very much for any help.
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help