powered by
Computes the RV coefficient between two groups of numerical variables.
rvcoef(Xa, Xb, row.w = NULL)
numerical value : the RV coefficient
data frame with the first group of numerical variables
data frame with the second group of numerical variables
numeric vector of row weights. If NULL (default), a vector of 1 for uniform row weights is used.
Nicolas Robette
Xa and Xb should have the same number of rows.
Xa
Xb
Escouffier, Y. (1973) Le traitement des variables vectorielles. Biometrics 29 751–760.
coiPCA, coiMCA, multiMCA
coiPCA
coiMCA
multiMCA
# RV coefficient between decathlon results by sport # and Rank and Points library(FactoMineR) data(decathlon) Xa <- decathlon[,1:10] Xb <- decathlon[,11:12] str(Xa) str(Xb) rvcoef(Xa, Xb)
Run the code above in your browser using DataLab