jaccard_index | R Documentation |
Calculate the Jaccard similarity index (JSI) between two vectors
jaccard_index(a, b)
a, b |
two vectors |
The JSI of the two vectors, a single value between 0 and 1.
jaccard_index(1:4, 2:6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.