ClassProp: Classification Proportion

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/main.R

Description

Computes the agreement proportion between two classification vectors.

Usage

1
ClassProp(id1, id2)

Arguments

id1

first partitioning vector.

id2

second partitioning vector.

Value

Returns the value of the proportion of agreeing elements.

Author(s)

Volodymyr Melnykov, Wei-Chen Chen, and Ranjan Maitra.

References

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

See Also

RandIndex, and VarInf.

Examples

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

MixSim documentation built on March 16, 2021, 5:08 p.m.

Related to ClassProp in MixSim...