Skip to content
Back to formatted view

Raw Message

Message-ID: <200110132045.PAA11187@uhddx01.dt.uh.edu>
Date: 2001-10-13T20:45:26Z
From: Erin Hodgess
Subject: hist with relative frequency

Dear R People:

Here is yet another histogram question (yahq), please:

When I use the hist() command with
freq=F, I get density on the side.

I would really like to have relative frequency; that is,
Rf = density/(sum(density))

Is there a step that I'm leaving out, please?

thanks!

Sincerely,
Erin
hodgess at uhddx01.dt.uh.edu
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._