updatemu {MEclustnet} | R Documentation |
Update the mean of each cluster.
Description
A Gibbs step to update the mean of each cluster.
Usage
updatemu(G, z, K, m, sigma2, omega2, Id, mu, d)
Arguments
G |
The number of clusters being fitted. |
z |
The n x d matrix of latent locations. |
K |
The cluster membership vector. |
m |
Vector of length G containing the number of nodes in each cluster. |
sigma2 |
The covariance of each cluster. |
omega2 |
Covariance of the multivariate normal prior distribution on the means. Note this is a scalar value, as the prior covariance is diagonal. |
Id |
A d x d identity matrix. |
mu |
The G x d matrix of cluster means. |
d |
The dimension of the latent space. |
Value
The G x d matrix of cluster means.
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
[Package MEclustnet version 1.2.2 Index]