powered by
The adjusted Rand index (ARI) allows to compare two clustering partitions.
ari(x, y)
The first partition to compare (as vector).
The second partition to compare (as vector).
The value of the ARI.
funLBM
# NOT RUN { x = sample(1:3,20,replace = TRUE) y = sample(1:3,20,replace = TRUE) ari(x,y) # }
Run the code above in your browser using DataLab