jaccard: Jaccard similarity matrix.

Description Usage Arguments Value Examples

Description

This function calculates Jaccard similarity matrix between two partitions.

Usage

1
jaccard(x, y)

Arguments

x, y

– vectors of cluster labels

Value

a matrix of Jaccard similarity between clusters in two partitions.

Examples

1
2
3
x=c(1,2,3)
y=c(3,2,1)
jaccard(x,y)

OTclust documentation built on May 6, 2019, 9 a.m.