
<div id="basic-usage" class="section level2">
<h2>Basic usage</h2>
<p><code>across()</code> has two primary arguments:</p>
<ul>
<li><p>The first argument, <code>.cols</code>, selects the columns you
want to operate on. It uses tidy selection (like <code>select()</code>)
so you can pick variables by position, name, and type.</p></li>
<li><p>The second argument, <code>.fns</code>, is a function or list of
functions to apply to each column. This can also be a purrr style
formula (or list of formulas) like <co