pow_o2m: NIPALS method for PLS2

Description Usage Arguments See Also

View source: R/OmicsPLS_o2m.R

Description

Performs power method for PLS2 loadings.

Usage

1
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


OmicsPLS documentation built on May 19, 2021, 5:08 p.m.