title: Why does the hist() function not have area one
body: <p>When using <code>hist()</code> in R and setting <code>freq=FALSE</code> I should get a densities. However, I do not. I get other numbers than when it just shows the count. I still need to normalize.</p>
  
  <p>For example:</p>
  
  <pre><code>&gt; h = hist(c(1,2,1,3,1,4,5,4,5,8,2,4,1,7,6,10,7,4,3,7,3,5), freq=FALSE)
  &gt; h$density
    0.13636364 0.15909091 0.09090909 0.09090909 0.02272727
  &gt; sum(h$density)
    [1] 0.5
  &gt; h$density/sum(h$density)
    [1] 0.27272727 0.31818182 0.18181818 0.18181818 0.0454545
  </code></pre>