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-devel/neurobase documentation built on May 6, 2021, 1:48 p.m.