select the best ncomp and alpha with cross-validation, then use them to fit the complete training set, and predict on the test set. scale = TRUE
enspls.od.core(x.sample, y.sample, x.remain, y.remain, maxcomp, cvfolds, alpha)
the error vector between predicted y and real y
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.