Learn R Programming

OmicsPLS (version 2.1.0)

pow_o2m: 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