npars_clustMD {clustMD}R Documentation

Calculates the number of free parameters for the clustMD model.

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.

See Also

clustMD


[Package clustMD version 1.2.1 Index]