pow_o2m: NIPALS method for PLS2

Description Usage Arguments

View source: R/O2PLS_o2m.R

Description

Performs power method for PLS2 loadings.

Usage

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

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 power method iteration

max_iterations

Integer, Maximum number of iterations for power method


selbouhaddani/O2PLS documentation built on May 29, 2019, 5:53 p.m.