partitionMetric computes a distance between two partitions of a set.
conda install r::r-partitionmetric