Skip to contents

Determines the sizes of clusters for a given partition and elements sizes.

Usage

clusters_sizes(partition, sizes = NULL)

Arguments

partition

A numeric vector representing the partition of the elements.

sizes

A numeric vector representing the sizes of individual elements.