Learn R Programming

powerPLS (version 0.2.1)

computeWT: Compute weight and score matrices from PLSc

Description

Compute weight and score matrices for Partial Least Squares classification

Usage

computeWT(X, Y, A)

Value

List with the following objects:

W

Matrix of weights

T_score

Matrix of Y scores

R

Matrix of Y residuals

Arguments

X

Data matrix where columns represent the \(p\) variables and rows the \(n\) observations.

Y

Data matrix where columns represent the two classes and rows the \(n\) observations.

A

Number of score components

Author

Angela Andreella