jaccard.ev {jaccard} | R Documentation |
Compute an expected Jaccard/Tanimoto similarity coefficient under independence
Description
Compute an expected Jaccard/Tanimoto similarity coefficient under independence
Usage
jaccard.ev(x, y, px = NULL, py = NULL)
Arguments
x |
a binary vector (e.g., fingerprint) |
y |
a binary vector (e.g., fingerprint) |
px |
probability of successes in |
py |
probability of successes in |
Value
jaccard.ev
returns an expected value.
Examples
set.seed(1234)
x = rbinom(100,1,.5)
y = rbinom(100,1,.5)
jaccard.ev(x,y)
[Package jaccard version 0.1.0 Index]