computeWT: Compute weight and score matrices from PLSc

View source: R/computeWT.R

computeWTR 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


powerPLS documentation built on April 4, 2025, 1:57 a.m.