Description Usage Arguments Details Value Note Author(s) References Examples
Calculating pairwise RV coefficients for a list of matrices or data.frame.
1 | pairwise.rv(data.list, match="col")
|
data.list |
A list of data.frame or matrix, either rows or columns in each data set should be matched. |
match |
Whether columns or rows of data.frame/matrix should be matched. |
The RV coefficient for each pair of matrices is calculated as Rv = trace(XX'YY')/sqrt(trace(XX'XX')*trace(YY'YY'))
The function will return a matrix containing the pairwise RV coefficients.
The variable in matrices are not automatically centered or scaled in this function. So these step may need to be performed before calling this function.
Chen Meng
Robert, P.; Escoufier, Y. (1976). A Unifying Tool for Linear Multivariate Statistical Methods: The RV-Coefficient. Applied Statistics 25 (3): 257-265.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.