M.step {clustMD} | R Documentation |
Internal function.
M.step(tau, N, sumTauEz, J, OrdIndx, D, G, Y, CnsIndx, sumTauS, model, a,
nom.ind.Z)
tau |
a |
N |
number of observations. |
sumTauEz |
the sum across all observations of observed and expected latent continuous values mutiplied by the posterior probability of belonging to each cluster. |
J |
the number of variables. |
OrdIndx |
the sum of the number of continuous and ordinal (including binary) variables. |
D |
dimension of the latent data. |
G |
the number of mixture components. |
Y |
a |
CnsIndx |
the number of continuous variables. |
sumTauS |
the sum across all observations of outer product of observed and expected latent continuous values mutiplied by the posterior probability of belonging to each cluster. |
model |
which |
a |
a |
nom.ind.Z |
the latent dimensions corresponding to each nominal variable. |
Output required for clustMD
function.