ari function

Adjusted Rand index

Adjusted Rand index

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

ari(x, y)

Arguments

  • x: The first partition to compare (as vector).
  • y: The second partition to compare (as vector).

Returns

  • 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)
  • Maintainer: Charles Bouveyron
  • License: GPL (>= 2)
  • Last published: 2022-04-11

Useful links