The `jaccard` function calculates the Jaccard Index of two sets.

jaccard(x, y)

Arguments

x, y

Vectors of the same mode containing a sequence of non-duplicated items.

Value

The Jaccard Index as a numeric value.

Examples

## NOT RUN # jaccard(1:10, 1:20)