[Rd] hist (PR#4395)

Achim Zeileis zeileis at ci.tuwien.ac.at
Thu Oct 2 22:05:52 MEST 2003


On Thursday 02 October 2003 20:48, mittal at math.arizona.edu wrote:

> It is not really a bug but a strange choice.

So why do you file it as a bug?

> When the option freq=F
> chosen, hist should plot relative frequency. It plots proportional
> to relative frequency by the factor of bin width. Is there a reason
> for this?

Yes.

> A more normal choice seems to be to have it independent of the bin
> width.

No, because then the histogram could not be used as a "density 
estimate" which is possible if the relative frequencies are 
proportional to the are and not the height of the segments.
Z



More information about the R-devel mailing list