pan></code></pre></div>
<p>(If you’re trying to compute <code>mean(a, b, c, d)</code> for each
row, instead see <code>vignette(&quot;rowwise&quot;)</code>)</p>
<p>This vignette will introduce you to the <code>across()</code>
function, which lets you rewrite the previous code more succinctly:</p>
<div class="sourceCode" id="cb2"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb2-1"><a href="#cb2-1" tabindex="-1"></a>df <span class="sc">%&gt;%</span> </span>
<span id="cb2-2"><a href="#cb2-2"