rv {corral} | R Documentation |
rv coefficient
rv(mat1, mat2)
mat1 |
matrix (or matrix-like, e.g., df); either columns or rows should be matched with |
mat2 |
matrix (or matrix-like, e.g., df); either columns or rows should be matched with |
numeric; RV coefficient between the matched matrices
a <- matrix(sample(1:10,100, TRUE), nrow = 10) b <- matrix(sample(1:10,50, TRUE), nrow = 5) rv(a, b) # matched by columns rv(t(a), t(b)) # matched by rows