Description Usage Arguments Value Author(s) See Also
View source: R/selectPLScomp.R
Function selectPLScomp
finds the optimum number of components to be used by the Partial Least Squares and linear Discriminant Algorithm (PLSDA).
1 2 3 | 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.