jaccardSets {bayesbio} | R Documentation |
This function compares the elements in two character vectors to find the Jaccard index, i.e. the number of intersections divided by the total number of elements in both sets.
jaccardSets(set1, set2)
set1 |
Character vector. |
set2 |
Character vector. |
A number (one-element numeric vector) specifying the Jaccard index from comparing the two sets.
https://en.wikipedia.org/wiki/Jaccard_index