pan class="va">p2</span><span class="op">$</span><span class="va">optimDim</span>,<span class="va">p3</span><span class="op">$</span><span class="va">optimDim</span><span class="op">)</span><span class="op">)</span>
<span class="va">emLag</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/stats/median.html" class="external-link">median</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(