View source: R/PLS_jack_svds_HA.R
corrcoef4mat | R Documentation |
R_V
coefficients between two conformable matrices.corrcoef4mat:
Computes the squared correlation and
R_V
coefficients between two conformable matrices.
corrcoef4mat(Y1, Y2)
Y1 |
The first |
Y2 |
The first |
corrcoef4mat:
is mainly used by
PLSR_SVD
.
A list with R^2
and the RV
coefficient between
the matrices Y1
and Y2
.
## Not run:
X = matrix(c(4,2,8,7), nrow = 2)
Y = matrix(c(1,7,2,9), nrow = 2)
corrXY <- corrcoef4mat(X,Y)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.