es</span>)
<span class='no'>lghlab</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/base/length.html'>length</a></span>(<span class='no'>lab2pred</span>)
<span class='no'>iris</span>$<span class='no'>Species</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/base/numeric.html'>as.numeric</a></span>(<span class='no'>iris</span>$<span class='no'>Species</span>)
<span class='no'>ymat</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='htt