Adjusted Rand index to compare different clusterings
Usage
Adj.Rand(cl1, cl2, ...)
Value
Similarity: numerical vector of length 1
Arguments
cl1
First classification (character vector of group names)
cl2
Second classification
...
Further arguments to table()
Author
Alexey Shipunov
Details
Use 'useNA="ifany"' or similar option to take NAs as a separate class
(for more explanations, see help for table() command).
Note that in rare cases, Adjusted Rand Index might become negative, this
might be some evidence that differences between two partitions are "worse
than random", i.e., there is a pattern in differences.
References
Hubert L. and Arabie P. 1985. Comparing partitions. Journal of Classification. 2. 193--218.