Description Usage Arguments Value Examples
Convert a similarity matrix into a distance matrix.
1 | sim2dist(sim, transformation = "1-x")
|
sim |
a similarity matrix of class |
transformation |
function or character. Transformation to apply to each element of the matrix. |
sim2dist
returns an object of the same class as the
input sim
.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.