Learn R Programming

MixSim (version 1.0-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

  • RRand's index
  • ARadjusted Rand's index
  • FFowlkes and Mallows index
  • MMirkin metric

References

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.

See Also

MixSim, pdplot, simdataset, ClassProp, 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