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


chavent/ClustOfVar documentation built on June 15, 2018, 1:42 a.m.