Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

dicer

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

'Neuroconductor' Base Package with Helper Functions for 'nifti' Objects

v1.32.1
GPL-2
Authors
John Muschelli [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.