selectPLScomp {MAIT} | R Documentation |
Function selectPLScomp
finds the optimum number of components to be used by the Partial Least Squares and linear Discriminant Algorithm (PLSDA).
selectPLScomp(data, class, max.comp)
data |
A numerical matrix containing the data |
class |
Vector containing the class label of each sample. |
max.comp |
Maximum number of components to be considered. |
A numeric value of the optimal number of components to be considered in a PLSDA run.
Francesc Fernandez, francesc.fernandez.albert@upc.edu