powered by
Simple wrapper to calculate the Dice Coefficient/Similarity Index from a table
dicer(tab, verbose = TRUE)
Numeric scalar (one number)
table or matrix that is 2 by 2
should the Dice be printed before returned?
tab = matrix(c(1000, 20, 20, 400), ncol = 2) dicer(tab)
Run the code above in your browser using DataLab