jJaccardIndexBinary | R Documentation |
Calculate Jaccard Index. Modified from: https://www.displayr.com/how-to-calculate-jaccard-coefficients-in-displayr-using-r/ #
jJaccardIndexBinary(x, y)
x |
Set X |
y |
Set Y |
## Not run:
if (interactive()) {
JaccardSimilarity <- jJaccardIndexBinary(
x = sample(x = 0:1, size = 100, replace = TRUE),
y = sample(x = 0:1, size = 100, replace = TRUE)
)
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.