View source: R/GeneTonic-extras.R
overlap_jaccard_index | R Documentation |
Calculate similarity coefficient with the Jaccard Index
overlap_jaccard_index(x, y)
x |
Character vector, corresponding to set 1 |
y |
Character vector, corresponding to set 2 |
A numeric value between 0 and 1
a <- seq(1, 21, 2)
b <- seq(1, 11, 2)
overlap_jaccard_index(a, b)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.