dicer | R Documentation |
Simple wrapper to calculate the Dice Coefficient/Similarity Index from a table
dicer(tab, verbose = TRUE)
tab |
table or matrix that is 2 by 2 |
verbose |
should the Dice be printed before returned? |
Numeric scalar (one number)
tab = matrix(c(1000, 20, 20, 400), ncol = 2)
dicer(tab)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.