powered by
Calculate RV coefficient
rv.coef(X, Y, method = 1)
RV coefficient
input matrix (same dimensions as Y)
Y
input matrix (same dimensions as X)
X
1 (default) and 2 give identical RV coefficients
1
2
Robert, P., & Escoufier, Y. (1976). A unifying tool for linear multivariate statistical methods: the RV-coefficient. Journal of the Royal Statistical Society: Series C (Applied Statistics), 25, 257-265.
# Generate some data set.seed(123) X <- matrix(rnorm(8), nrow = 4) Y <- matrix(rnorm(8), nrow = 4) # get the RV coefficient rv.coef(X, Y)
Run the code above in your browser using DataLab