<span id="cb22-8"><a href="#cb22-8" tabindex="-1"></a></span>
<span id="cb22-9"><a href="#cb22-9" tabindex="-1"></a>df <span class="sc">%&gt;%</span> <span class="fu">mutate_all</span>(mean)</span>
<span id="cb22-10"><a href="#cb22-10" tabindex="-1"></a><span class="co"># -&gt;</span></span>
<span id="cb22-11"><a href="#cb22-11" tabindex="-1"></a>df <span class="sc">%&gt;%</span> <span class="fu">mutate</span>(<span class="fu">across</span>(<span class="fu">everything</span>(), mean))</span></code></pre></d