Jaccard similarity between logical or 0-1 vectors:
sum(c1 & c2)/sum(c1 | c2).
sum(c1 & c2)/sum(c1 | c2)
logical or 0-1-vector.
logical or 0-1-vector (same length).
result if sum(c1 | c2)=0.
sum(c1 | c2)=0
Numeric between 0 and 1.
c1 <- rep(TRUE,10)
c2 <- c(FALSE,rep(TRUE,9))
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.