jaccardSimilarity | R Documentation |
Computes Jaccard similarity between "detections" in two vectors of the same length. A detection is a value, as opposed to NA.
jaccardSimilarity(x, y)
x |
A vector |
y |
A vector |
Jaccard similarity between x and y
library(proteusLabelFree)
data(proteusLabelFree)
sim <- jaccardSimilarity(pepdat$tab[,1], pepdat$tab[,2])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.