powered by
rowCors(X, Y)
a <- matrix(runif(100), nrow=10, ncol=10) b <- matrix(runif(100), nrow=10, ncol=10) c <- rowCors(a, b)
Run the code above in your browser using DataLab