Update the count of the number of observations in each cluster.
calcm(m, G, K)
Vector of length G containing the number of nodes in each cluster.
The number of clusters in the model being fitted.
Vector of length n detailing the number of the cluster to which each node belongs.
Vector of length G containing the number of nodes in each cluster.
Isobel Claire Gormley and Thomas Brendan Murphy. (2010) A Mixture of Experts Latent Position Cluster Model for Social Network Data. Statistical Methodology, 7 (3), pp.385-405.