dicer: Calculate Dice from a Table

View source: R/dicer.R

dicerR Documentation

Calculate Dice from a Table

Description

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

Usage

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

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

neurobase documentation built on May 29, 2024, 2:17 a.m.