computeWT {powerPLS}R Documentation

Compute weight and score matrices from PLSc

Description

Compute weight and score matrices for Partial Least Squares classification

Usage

computeWT(X, Y, A)

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

Value

List with the following objects:

W

Matrix of weights

T_score

Matrix of Y scores

R

Matrix of Y residuals

Author(s)

Angela Andreella


[Package powerPLS version 0.2.0 Index]