updateK {MEclustnet}R Documentation

Update the cluster membership vector.

Description

A Gibbs update step for K, the cluster membership vector.

Usage

updateK(G, K, z, mu, sigma2, Id, lambda)

Arguments

G

The number of clusters being fitted.

K

The cluster membership vector.

z

The n x d matrix of latent locations.

mu

The G x d matrix of cluster means.

sigma2

The G vector of cluster covariances.

Id

An identity matrix of dimension d.

lambda

The n x G matrix of mixing proportions.

Value

The cluster membership vector.

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]