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

Returns a 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.1.0 Index]