updatemu: Update the mean of each cluster.

Description Usage Arguments Value References See Also

View source: R/updatemu.R

Description

A Gibbs step to update the mean of each cluster.

Usage

1
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

MEclustnet


MEclustnet documentation built on Oct. 10, 2019, 5:04 p.m.