tyle="color: #BCBCBC;">3</span> <span style="color: #BB0000;">NA</span>    c         3     0     0      1     0     1      0</span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="va">df</span> <span class="op"><a href="pipe.html">%&gt;%</a></span></span></span>
<span class="r-in"><span>  <span class="fu">get_dummies</span><span class="op">(</span>cols <span class="op">=</span> <span class="va">chr</span><span class="op">)</span></span></span>
<span class="r-out co"><span class