" class="section level3">
<h3>filter()</h3>
<p>We cannot directly use <code>across()</code> in <code>filter()</code>
because we need an extra step to combine the results. To that end,
<code>filter()</code> has two special purpose companion functions:</p>
<ul>
<li><code>if_any()</code> keeps the rows where the predicate is true for
<em>at least one</em> selected column:</li>
</ul>
<div class="sourceCode" id="cb19"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb19-1"><a href="#cb19-1" tabind