Description Usage Arguments Value Examples
Compute an expected Jaccard/Tanimoto similarity coefficient under independence
1 | jaccard.ev(x, y, px = NULL, py = NULL)
|
x |
a binary vector (e.g., fingerprint) |
y |
a binary vector (e.g., fingerprint) |
px |
probability of successes in |
py |
probability of successes in |
jaccard.ev
returns an expected value.
1 2 3 4 | set.seed(1234)
x = rbinom(100,1,.5)
y = rbinom(100,1,.5)
jaccard.ev(x,y)
|
[1] 0.3179348
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.