dicer: Calculate Dice from a Table

Description Usage Arguments Value Examples

View source: R/dicer.R

Description

Simple wrapper to calculate the Dice Coefficient/Similarity Index from a table

Usage

1
dicer(tab, verbose = TRUE)

Arguments

tab

table or matrix that is 2 by 2

verbose

should the Dice be printed before returned?

Value

Numeric scalar (one number)

Examples

1
2
tab = matrix(c(1000, 20, 20, 400), ncol = 2)
dicer(tab)

neuroconductor-releases/neurobase documentation built on Nov. 12, 2020, 7:47 p.m.