Description Usage Arguments Value Examples
View source: R/jaccard.test.exact.R
Compute statistical significance of Jaccard/Tanimoto similarity coefficients.
1 | jaccard.test.exact(x, y, px = NULL, py = NULL, verbose = TRUE)
|
x |
a binary vector (e.g., fingerprint) |
y |
a binary vector (e.g., fingerprint) |
px |
probability of successes in |
py |
probability of successes in |
verbose |
whether to print progress messages |
jaccard.test.exact
returns a list consisting of
statistics |
centered Jaccard/Tanimoto similarity coefficient |
pvalue |
p-value |
expectation |
expectation |
1 2 3 4 | set.seed(1234)
x = rbinom(100,1,.5)
y = rbinom(100,1,.5)
jaccard.test.exact(x,y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.