message'>Removed some species that contained no data in: beetles, plants </span></div><div class='input'><span class='co'>## should retain only the useful PLS components for a parsimonious model</span>

<span class='co'># \donttest{</span>
<span class='co'>## Leave-one-out crossvalidation - this takes a while</span>
<span class='fu'><a href='crossval.html'>crossval</a></span>(<span class='no'>beetles</span>, <span class='no'>plants</span>)</div><div class='output co'>#&gt; <span class='message'>some species