powered by
sum(c1 & c2)/sum(c1 | c2)
clujaccard(c1,c2,zerobyzero=NA)
sum(c1 | c2)=0
c1 <- rep(TRUE,10) c2 <- c(FALSE,rep(TRUE,9)) clujaccard(c1,c2)
Run the code above in your browser using DataLab