7
#&gt; COCA 25 0.1142  0.8143 0.0835 1.4651    0.88
#&gt; COCA 26 0.2439  0.7308 0.1433 2.5157    0.75
#&gt; COCA 27 0.2024  0.5875 0.0989 1.7364    0.79
#&gt; COCA 28 0.6375  0.4886 0.1902 3.3391    0.51
#&gt; COCA 29 1.1924  0.2984 0.1623 2.8489    0.12
#&gt; </div><div class='input'><span class='co'># }</span>

<span class='co'>## agrees with the Leave-one-out cross-validation</span>
<span class='co'>## refit the model with only 2 PLS components</span>
<span class='no'>bp.pred</span> <span class='kw'>&l