pairwise.rv {mogsa} | R Documentation

## pairwise RV coefficients.

### Description

Calculating pairwise RV coefficients for a list of matrices or data.frame.

### Usage

        pairwise.rv(data.list, match="col")

### Arguments

`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.

### Details

The RV coefficient for each pair of matrices is calculated as Rv = trace(XX'YY')/sqrt(trace(XX'XX')*trace(YY'YY'))

### Value

The function will return a matrix containing the pairwise RV coefficients.

### Note

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.

### Author(s)

Chen Meng

### References

Robert, P.; Escoufier, Y. (1976). A Unifying Tool for Linear Multivariate Statistical Methods: The RV-Coefficient. Applied Statistics 25 (3): 257-265.

### Examples

        data(NCI60_4arrays)
        pairwise.rv(NCI60_4arrays)

[Package mogsa version 1.21.0 Index]