npars_clustMD: Calculates the number of free parameters for the
Description
Internal function.Usage
npars_clustMD(model, D, G, J, CnsIndx, OrdIndx, K)
Arguments
model
the clustMD
covariance model fitted.
D
the dimension of the latent data.
G
the number of mixture components.
J
the number of variables.
CnsIndx
the number of continuous variables.
OrdIndx
the sum of the number of continuous and ordinal (including
binary) variables.
K
a vector indicating the number of levels of each categorical
variable.
Value
Output required for clustMD
function.