rowCors | R Documentation |
Correlation between ith row of x and ith row of y for all i
rowCors(X, Y)
X |
a matrix |
Y |
a matrix |
a list of two vectors: cor (correlation values) and pval (correlation p-values)
Sudhir Varma, NCI-LMP
a <- matrix(runif(100), nrow=10, ncol=10)
b <- matrix(runif(100), nrow=10, ncol=10)
c <- rowCors(a, b)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.