an class="r-out co"><span class="r-pr">#&gt;</span> [10,]  1.29230591          NA  1.3766098</span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co"># rowGroupMeans with outlier removal</span></span></span>
<span class="r-in"><span><span class="fu">rowGroupMeans</span><span class="op">(</span><span class="va">x</span>, groups<span class="op">=</span><span class="va">use_groups</span>, rmOutliers<span class="op">=</span><span class="cn">TRUE</span><span class="op">)</span></s