The Problem – Binning for Length Frequency Histograms
Fisheries scientists often make histograms of fish lengths. For example, the code below uses hist() (actually hist.formula()) from the FSA package to construct a histogram of total lengths for Chinook Salmon from Argentinian waters.
<span>library</span><span>(</span><span>FSA</span><span>)</span>
<span>data</span><span>(</span><span>ChinookArg</span><span>)</span>
<span>hist</span><span>(</span><span>~</span><span>tl</span><span>,</span><span>data</span><span>=</span><span>ChinookArg</span><span>,</span><span>xlab</span><span>=</span><span>"Total Length (cm)"</span><span>)</span>
The default bins for these histograms are ...
[Read more...]