sort_pairs {CommKern} | R Documentation |
Description of the sort pairs function.
sort_pairs(a, b)
a |
a vector of classifications |
b |
a vector of classifications |
A function to sort pairs of integers or factors and identify the pairs
a list of six objects used as the basis to calculate many cluster evaluation metrics, like NMI, ARI, and the Rand z-score.
levelsa list of the classes within each of the partitions a and b
n_ija vector containing counts of nodes within all possible classification pairs from partitions a and b
n_i.a vector of the same length as pair_nb, specifying the order of classifications in pair_nb from partition a
n_.ja vector of the same length as pair_nb, specifying the order of classifications in pair_nb from partition b
pair_aa vector containing counts of nodes within each class for partition a
pair_ba vector containing counts of nodes within each class for partition b