nchor" href="#ref-examples"></a></h2>
    <div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="co"># Calculate row variances for a matrix</span></span></span>
<span class="r-in"><span><span class="co"># mat &lt;- matrix(1:12, nrow = 3)</span></span></span>
<span class="r-in"><span><span class="co"># row_vars &lt;- rowVars(mat)</span></span></span>
<span class="r-in"><span></span></span>
</code></pre></div>
    </div>
  </main><aside class="col-md-3"><nav id="toc" ari