pow_o2m: NIPALS method for PLS2

View source: R/OmicsPLS_o2m.R

pow_o2mR Documentation

NIPALS method for PLS2

Description

Performs power method for PLS2 loadings.

Usage

pow_o2m(X, Y, n, tol = 1e-10, max_iterations = 1000)

Arguments

X

Numeric matrix. Vectors will be coerced to matrix with as.matrix (if this is possible)

Y

Numeric matrix. Vectors will be coerced to matrix with as.matrix (if this is possible)

n

Integer. Number of joint PLS components. Must be positive.

tol

Double. Threshold for which the NIPALS method is deemed converged. Must be positive.

max_iterations

Integer. Maximum number of iterations for the NIPALS method.

See Also

o2m


selbouhaddani/OmicsPLS documentation built on Aug. 25, 2022, 9:52 p.m.