Learn R Programming

MixSim (version 1.1-2)

RandIndex: Rand's Index

Description

Computes Rand, adjusted Rand, Fowlkes and Mallows, and Merkin indices.

Usage

RandIndex(id1, id2)

Arguments

id1
first partitioning vector.
id2
second partitioning vector.

Value

R
Rand's index.
AR
adjusted Rand's index.
F
Fowlkes and Mallows index.
M
Mirkin metric.

References

Rand, W.M. (1971) ``Objective criteria for the evaluation of clustering methods'', Journal of the American Statistical Association, 66:336, 846-850.

Maitra, R. and Melnykov, V. (2010) ``Simulating data to study performance of finite mixture modeling and clustering algorithms'', The Journal of Computational and Graphical Statistics, 2:19, 354-376.

Meila, M. (2006) ``Comparing clusterings - an information based distance'', Journal of Multivariate Analysis, 98, 873-895.

Melnykov, V., Chen, W.-C., and Maitra, R. (2012) ``MixSim: An R Package for Simulating Data to Study Performance of Clustering Algorithms'', Journal of Statistical Software, 51:12, 1-25.

See Also

MixSim, pdplot, simdataset, ClassProp, and VarInf.

Examples

Run this code

id1 <- c(rep(1, 50), rep(2,100))
id2 <- rep(1:3, each = 50)
RandIndex(id1, id2)

Run the code above in your browser using DataLab