lass="co">#&gt; 9            1               1       5    benign</span></span>
<span id="cb3-27"><a href="#cb3-27"></a><span class="co">#&gt; 10           2               1       1    benign</span></span>
<span id="cb3-28"><a href="#cb3-28"></a><span class="co">#Convert the class to a factor - Beningn (0) and Malignant (1)</span></span>
<span id="cb3-29"><a href="#cb3-29"></a>breast<span class="op">$</span>Class &lt;-<span class="st"> </span><span class="kw">factor</span>(breast<span class="op">$</span>Clas