jaccard: Jaccard similarity.

View source: R/term_similarities.R

jaccardR Documentation

Jaccard similarity.

Description

Compute Jaccard similarity between two sets.

Usage

jaccard(x, y)

Arguments

x

First set.

y

Second set.

Value

Jaccard similarity between set x and y.

See Also

Other pathway similarity methods: overlap_coefficient()

Examples

jaccard(c(1, 2, 3), c(2, 3, 4))

cbg-ethz/pareg documentation built on July 20, 2023, 7:30 p.m.