jaccard | R Documentation |
This function calculates Jaccard similarity matrix between two partitions.
jaccard(x, y)
x, y |
– vectors of cluster labels |
a matrix of Jaccard similarity between clusters in two partitions.
x=c(1,2,3)
y=c(3,2,1)
jaccard(x,y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.