This function takes a correlation matrix with possibly negative entries, and a threshold eps>0 returns the distance matrix where eps is a replacement for negative values in R
1 | get.dist(R, eps = 1e-10)
|
R |
a correlation matrix |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.