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.
rand(P, Q, symmetric = TRUE, adj = TRUE)
a factor, e.g., the first partition.
a factor, e.g., the second partition.
a boolean. If FALSE the asymmetrical Rand index is calculated.
a boolean. If TRUE the corrected index is calculated.