ss</span><span class="op">)</span></span>
<span><span class="va">class</span><span class="op">$</span><span class="va">male</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/numeric.html" class="external-link">as.numeric</a></span><span class="op">(</span><span class="va">class</span><span class="op">$</span><span class="va">sex</span><span class="op">==</span><span class="st">"M"</span><span class="op">)</span></span></code></pre></div>
<p>For later use in regression, we