rand: Comparing partitions

Description Usage Arguments Value Author(s) References

Description

Rand Index and Rand Index corrected/adjusted for chance for comparing partitions (Hubert & Arabie, 1985). The names of the clusters do not matter.

Usage

1
2
3
4
5
6
7
crand(tab)

crand2(clu1, clu2)

rand(tab)

rand2(clu1, clu2)

Arguments

tab

A contingency table obtained as a table(clu1, clu2).

clu1

The two partitions to be compared, given in the form of vectors, where for each unit a cluster membership is given.

clu2

The two partitions to be compared, given in the form of vectors, where for each unit a cluster membership is given.

Value

The value of Rand Index (corrected/adjusted for chance)

Author(s)

Aleš Žiberna

References

Hubert, L., & Arabie, P. (1985). Comparing Partitions. Journal of Classification, 2(1), 193-218.


blockmodelingRoxygen2 documentation built on June 9, 2020, 3:30 p.m.