adjRand: Adjusted Rand Index

View source: R/ARI.R

adjRandR Documentation

Adjusted Rand Index

Description

Adjusted Rand Index

Usage

adjRand(class1, class2)

Arguments

class1

A n-vector of class labels.

class2

A n-vector of class labels.

Details

Compute the adjusted Rand Index comparing the two classifications, class1 and class2.

Value

A scalar value, taking the value 1 if the two classifications are in perfect agreement. Under random classification, the adjusted Rand Index is 0.

Author(s)

Emily Goren, emily.goren@gmail.com

References

Lawrence Hubert & Phipps Arabie, 1985. "Comparing partitions," Journal of Classification, 2(1): 193-218.


emilygoren/MixtClust documentation built on March 19, 2022, 2 p.m.