so2m_group | R Documentation |
Perform Group Sparse O2PLS
so2m_group( X, Y, n, nx, ny, groupx = NULL, groupy = NULL, keepx = NULL, keepy = NULL, tol = 1e-10, max_iterations = 1000, max_iterations_sparsity = 1000 )
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. |
nx |
Integer. Number of orthogonal components in X. Negative values are interpreted as 0 |
ny |
Integer. Number of orthogonal components in Y. Negative values are interpreted as 0 |
groupx |
Vector. Used when |
groupy |
Vector. Used when |
keepx |
Vector. Used when |
keepy |
Vector. Used when |
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. |
max_iterations_sparsity |
Integer. Used when |
A list containing
Tt |
Joint X scores |
W. |
Joint X loadings |
U |
Joint Y scores |
C. |
Joint Y loadings |
T_Yosc |
Orthogonal X scores |
P_Yosc. |
Orthogonal X loadings |
W_Yosc |
Orthogonal X weights |
U_Xosc |
Orthogonal Y scores |
P_Xosc. |
Orthogonal Y loadings |
C_Xosc |
Orthogonal Y weights |
B_U |
Regression coefficient in |
B_T. |
Regression coefficient in |
H_TU |
Residuals in |
H_UT |
Residuals in |
W_gr |
Joint weights of X variables at group level. They are the norms of the X-joint loadings per group |
C_gr |
Joint weights of Y variables at group level. They are the norms of the Y-joint loadings per group |
o2m
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.