-usage">
    <div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">CalcJSDivergence</span><span class="op">(</span><span class="va">x</span>, y <span class="op">=</span> <span class="cn">NULL</span>, by_rows <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span></span></code></pre></div>
    </div>

    <div id="arguments">
    <h2>Arguments</h2>
    <dl><dt>x</dt>
<dd><p>A numeric matrix or numeric vector</p></dd>


<dt>y</dt>
<dd><p>A numeric vector. <code