 aria-label="anchor" href="#ref-examples"></a></h2>
    <div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="fu">sma</span><span class="op">(</span><span class="va">mcap</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> [1] 0.03294466</span>
<span class="r-in"><span><span class="fu">sma</span><span class="op">(</span><span class="va">mcap</span>, scale <span class="op">=</span> <span class="cn">TRUE</span><span class