calcm {MEclustnet}R Documentation

Totals the number of observations in each cluster.

Description

Update the count of the number of observations in each cluster.

Usage

calcm(m, G, K)

Arguments

m

Vector of length G containing the number of nodes in each cluster.

G

The number of clusters in the model being fitted.

K

Vector of length n detailing the number of the cluster to which each node belongs.

Value

Vector of length G containing the number of nodes in each cluster.

References

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.

See Also

MEclustnet


[Package MEclustnet version 1.2.2 Index]