  <p>Compute the entropy of a discrete sample</p>
    </div>

    <div id="ref-usage">
    <div class="sourceCode"><pre class="sourceCode r"><code><span class="fu">H</span><span class="op">(</span><span class="va">cl</span><span class="op">)</span></code></pre></div>
    </div>

    <div id="arguments">
    <h2>Arguments</h2>
    <dl><dt>cl</dt>
<dd><p>vector of discrete labels</p></dd>
</dl></div>
    <div id="value">
    <h2>Value</h2>
    <p>the entropy of the sample</p>
    </div>

    <div id="ref-exam