Learn R Programming

epos (version 1.1)

dice: Calculate dice similarity metric

Description

Calculate dice similarity metric

Usage

dice(ainterb, lengtha, lengthb)

Value

dice double vlaue with the dice similarity coefficient

Arguments

ainterb

integer value with number of intersecting elements between set a and b

lengtha

integer value with the number of items in set a

lengthb

integer value with the number of items in set b

Examples

Run this code
dice(1, 3, 4)

Run the code above in your browser using DataLab