wCorDist | R Documentation |
Computes a weighted Pearson distance measure matrix. If ranks are used this measure turns into weighted Spearman distance measure matrix.
wCorDist(x, w, useRanks, n_cores)
x |
input with columns containing each observation |
w |
weights for all values in a obervation |
useRanks |
indicates if Pearson should be computed on weighted ranks. |
n_cores |
number of cores to use for parallel computation. |
weighted Pearson distance measure matrix. If ranks are used this measure turns into weighted Spearman distance measure matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.