n class="r-in"><span><span class="fu">entropy_d</span><span class="op">(</span><span class="va">lx</span>, <span class="va">mx</span>, type <span class="op">=</span> <span class="st">"unscaled"</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> [1] 2.062862</span>
<span class="r-in"><span><span class="fu">entropy_d</span><span class="op">(</span><span class="va">lx</span>, <span class="va">mx</span>, type <span class="op">=</span> <span class="st">"scaled"</