corSparse | R Documentation |
Compute the Pearson correlation matrix between columns of two sparse matrices.
corSparse(X, Y = NULL, cov = FALSE)
X |
A matrix |
Y |
A matrix |
cov |
return covariance matrix |
Originally from https://stackoverflow.com/questions/5888287/running-cor-or-any-variant-over-a-sparse-matrix-in-r and the qlcMatrix package.
Michael Cysouw, Karsten Looschen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.