Description Usage Arguments Value Examples
Pairwise jaccard/overlap coefficient can be calculated efficiently using matrix Pairwise overlap coefficient of binary matrix by column
1 | columnOverlapCoefficient(x, y = NULL)
|
x |
An integer matrix, other objects will be coereced into a matrix |
y |
An integer matrix, other objects will be coereced into a matrix. In case of
|
A matrix of column-wise pairwise overlap coefficients of the binary matrix. NaN
is reported when neither of the columns have any non-zero element.
1 2 3 4 5 6 7 | set.seed(1887)
testMatrix1 <- matrix(rbinom(120, 1, 0.2), nrow=15)
columnOverlapCoefficient(testMatrix1)
testMatrix2 <- matrix(rbinom(150, 1, 0.2), nrow=15)
testMatrix12Poe <- columnOverlapCoefficient(testMatrix1,
testMatrix2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.