Performs power method for PLS2 loadings.
1 | pow_o2m(X, Y, n, tol = 1e-10, max_iterations = 100)
|
X |
Numeric matrix. Vectors will be coerced to matrix with |
Y |
Numeric matrix. Vectors will be coerced to matrix with |
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.