rvcoef | R Documentation |
Computes the RV coefficient between two groups of numerical variables.
rvcoef(Xa, Xb, row.w = NULL)
Xa |
data frame with the first group of numerical variables |
Xb |
data frame with the second group of numerical variables |
row.w |
numeric vector of row weights. If NULL (default), a vector of 1 for uniform row weights is used. |
Xa
and Xb
should have the same number of rows.
numerical value : the RV coefficient
Nicolas Robette
Escouffier, Y. (1973) Le traitement des variables vectorielles. Biometrics 29 751–760.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.