ARI: Compare two clustering with the Adjusted Rand Index

Description Usage Arguments Value Examples

Description

Compare two clustering with the Adjusted Rand Index

Usage

1
ARI(x, y)

Arguments

x

A vector of integers, the clusters labels

y

A vector of integers of the same length as x, the clusters labels

Value

A number between 0 (random clustering) and 1 (identical clustering)

Examples

1
ARI(x = c(1, 2, 1), y = c(2, 2, 1))

Chabert-Liddell/MLVSBM documentation built on Sept. 22, 2020, 3:38 p.m.