clujaccard | R Documentation |
Jaccard similarity between logical or 0-1 vectors:
sum(c1 & c2)/sum(c1 | c2)
.
clujaccard(c1,c2,zerobyzero=NA)
c1 |
logical or 0-1-vector. |
c2 |
logical or 0-1-vector (same length). |
zerobyzero |
result if |
Numeric between 0 and 1.
Christian Hennig christian.hennig@unibo.it https://www.unibo.it/sitoweb/christian.hennig/en/
c1 <- rep(TRUE,10)
c2 <- c(FALSE,rep(TRUE,9))
clujaccard(c1,c2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.