Compute weight and score matrices for Partial Least Squares classification
computeWT(X, Y, A)
List with the following objects:
Matrix of weights
Matrix of Y
scores
Matrix of Y
residuals
Data matrix where columns represent the \(p\) variables and rows the \(n\) observations.
Data matrix where columns represent the two classes and rows the \(n\) observations.
Number of score components
Angela Andreella