ari: Adjusted Rand index

View source: R/ari.R

ariR Documentation

Adjusted Rand index

Description

The adjusted Rand index (ARI) allows to compare two clustering partitions.

Usage

ari(x, y)

Arguments

x

The first partition to compare (as vector).

y

The second partition to compare (as vector).

Value

ari

The value of the ARI.

See Also

funLBM

Examples

x = sample(1:3,20,replace = TRUE)
y = sample(1:3,20,replace = TRUE)
ari(x,y)

funLBM documentation built on April 11, 2022, 5:06 p.m.

Related to ari in funLBM...