Learn R Programming

epos (version 1.1)

calcJaccard: Calculate the jaccard coefficient for two lists a and b

Description

Calculate the jaccard coefficient for two lists a and b

Usage

calcJaccard(a, b)

Value

ja list with length of set b containing the jaccard similarity coefficient for each list element

Arguments

a

list with elements that should be of same type as in list b

b

list with elements

Examples

Run this code
calcJaccard(c(1,2), c(2,3))

Run the code above in your browser using DataLab