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