is.metric | R Documentation |
Checks whether the input dissimilarity matrix is metric (i.e. all triplets fulfill the triangle inequality).
is.metric(d, tol = 1e-04)
d |
A symmetric |
tol |
Tolerance value for metricity |
a boolean indicating metric property
Miquel De Cáceres, CREAF
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.