o2m_stripped {OmicsPLS} | R Documentation |
Perform O2-PLS with two-way orthogonal corrections
Description
NOTE THAT THIS FUNCTION DOES NOT CENTER NOR SCALES THE MATRICES! Any normalization you will have to do yourself. It is best practice to at least center the variables though. A stripped version of O2PLS
Usage
o2m_stripped(X, Y, n, nx, ny)
Arguments
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 |
ny |
Integer. Number of orthogonal components in |
Details
If both nx
and ny
are zero, o2m
is equivalent to PLS2 with orthonormal loadings.
This is a stripped implementation of O2PLS, using svd
. For data analysis purposes, consider using o2m
.
Value
A list containing
Tt |
Joint |
W. |
Joint |
U |
Joint |
C. |
Joint |
P_Yosc. |
Orthogonal |
P_Xosc. |
Orthogonal |
B_U |
Regression coefficient in |
B_T. |
Regression coefficient in |
H_TU |
Residuals in |
H_UT |
Residuals in |