group_sizes()
recomputes group sizes from a full mixing matrix. This is
only limited to square (single-attribute) mixing matrices.
group_sizes(mm, directed = TRUE, loops = FALSE)
numeric array with dim
of \((k, k, 2)\) for some \(k\)
logical, whether network is directed
logical, whether loops are allowed
A numeric vector of group sizes