Description Usage Arguments Value Author(s)
Function PLSDA
performs Fisher's LSD tests on the data using the package plsgenomics
1 2 3 4 5 6 7 |
Xtrain |
A numerical matrix containing the data |
Ytrain |
A factor vector containing the class labels of the samples |
Xtest |
A numerical matrix containing the data whose class is to be predicted. |
ncomp |
Number of components to build the PCA model |
nruncv |
Number of cross-validation iterations to be performed for the choice of the number of latent components |
alpha |
The proportion of Obesrvations to be included in the training set at each cross-validation iteration |
priors |
The class priors to be used for linear discriminant analysis. If unspecified, the class proportions in the training set are used. |
A list containing the output of function pls.regression, the predicted class for the Xtest dataset and the number of components used.
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.