Learn R Programming

clustAnalytics (version 0.5.5)

contingency_to_membership_vectors: Computes possible membership vectors from contingency table

Description

Given a contingency table, obtains a possible pair of corresponding labelings. That is, element M[i,j] is the number of elements that belong to community i in the first labeling and j in the second.

Usage

contingency_to_membership_vectors(M)

Value

a list containing the two membership vectors

Arguments

M

the contingency table