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.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.