RV: RV coefficient

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/RV.R

Description

Calculates an RV coefficient.

Usage

1
RV(X, Y)

Arguments

X

A matrix with the same number of rows as Y

Y

A matrix with the same number of rows as X

Details

RV calculates the RV coefficient between two matrices.The RV coefficient is a multivariate generalization of the squared Pearson's correlation. In package FactoMineR, the function coeffRV calculates other variations of the RV coefficient and propose a test for it. This function was designed to calculate only the basic RV coefficient making it much faster than coeffRV.

Value

The RV coefficient. A numeric value ranging between 0 and 1

Author(s)

F. Guillaume Blanchet

References

Escouffier, Y. (1973) Le traitement des variables vectorielles. Biometrics 29:751–760.

See Also

coeffRV

Examples

1
2
3
4
data(mite)
data(mite.env)

RV(mite,mite.env[,1:2])

guiblanchet/countComm documentation built on June 3, 2020, 12:37 a.m.