jPairwiseJaccardIndex | R Documentation |
Create a pairwise jaccard similarity matrix across all combinations of columns in binary.presence.matrix. Modified from: https://www.displayr.com/how-to-calculate-jaccard-coefficients-in-displayr-using-r/
jPairwiseJaccardIndex(binary.presence.matrix = df.presence)
binary.presence.matrix |
A boolean matrix. Default: df.presence |
## Not run:
if (interactive()) {
PairwiseJaccardIndices <- jPairwiseJaccardIndex(binary.presence.matrix = df.presence)
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.