updateK: Update the cluster membership vector.

Description Usage Arguments Value References See Also

View source: R/updateK.R

Description

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

Usage

1
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


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