powered by
Compute an expected Jaccard/Tanimoto similarity coefficient under independence
jaccard.ev(x, y, px = NULL, py = NULL)
jaccard.test.bootstrap returns an expected value.
jaccard.test.bootstrap
a binary vector (e.g., fingerprint)
probability of successes in x (optional)
x
probability of successes in y (optional)
y
set.seed(1234) x = rbinom(100,1,.5) y = rbinom(100,1,.5) jaccard.ev(x,y)
Run the code above in your browser using DataLab