rand: Rand index between two partitions

Description Usage Arguments See Also

View source: R/rand.R

Description

Returns the Rand index, the corrected Rand index or the asymmetrical Rand index. The asymmetrical Rand index (corrected or not) measures the inclusion of a partition P into and partition Q with the number of clusters in P greater than the number of clusters in Q.

Usage

1
rand(P, Q, symmetric = TRUE, adj = TRUE)

Arguments

P

a factor, e.g., the first partition.

Q

a factor, e.g., the second partition.

symmetric

a boolean. If FALSE the asymmetrical Rand index is calculated.

adj

a boolean. If TRUE the corrected index is calculated.

See Also

stability


ClustOfVar documentation built on May 2, 2019, 12:37 p.m.