ari {funLBM} | R 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
Examples
x = sample(1:3,20,replace = TRUE)
y = sample(1:3,20,replace = TRUE)
ari(x,y)
[Package funLBM version 2.3 Index]