 2 A1      2.5     0     1</span>
<span class="co">#&gt; 3 A1      0       0     1</span>
<span class="co">#&gt; 4 A2      8      NA    25</span>
<span class="co">#&gt; 5 A2      3       5     7</span>
<span class="co">#&gt; 6 A2      4       6     8</span></code></pre></div>
<ul>
<li><code>recode_na_if</code></li>
</ul>
<p>Given a <code>data.frame</code> object, one can recode <code>NA</code>s as another value based on a grouping variable. In the example below, we replace all <code>NA</code>s in all column