Description Usage Arguments Value Author(s) See Also
Parallel Pearson's correlation. It either takes a 2D array as input and correlates each row with every other row or takes two 2D arrays and correlates the columns of the first matrix with the columns of the second matrix. The output can either be the matrix of correlation coefficient or the distance matrix.
N.B. Please see the SPRINT User Guide for how to run the code in parallel using the mpiexec command.
1 2 |
data_x |
double precision 2D array of data |
data_y |
NULL or second double precision 2D array of data |
distance |
boolean, whether the distance or correlation coefficient matrix is returned |
caching_ |
string, either "mmeachflush" or "mmnoflush" select the back-end caching scheme |
filename_ |
string, name of the result file |
An ff_matrix object. The results of a correlation computation can be very large and so SPRINT returns a file-backed ff_matrix object instead of a standard R matrix object.
University of Edinburgh SPRINT Team sprint@ed.ac.uk www.r-sprint.org
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.