R/size_constraints.R
clusters_sizes.Rd
Determines the sizes of clusters for a given partition and elements sizes.
clusters_sizes(partition, sizes = NULL)
A numeric vector representing the partition of the elements.
A numeric vector representing the sizes of individual elements.