Compute distance using pearson correlation r
1 | dist.pearson(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.