Compute dissimilarity using correlation
1 | dist.correlation(x, directional = TRUE, use.ranks = FALSE)
|
x |
matrix of values |
directional |
logical, set TRUE to get dissimilarities as (1-r) and FALSE to compute dissimilarities as (1-abs(r)) |
use.ranks |
logical, set TRUE to use rho correlation for ranks |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.