Transfer a list into a vector
list2par(p, g, pi, mu, sigma, xi = NULL, type = c("ign", "full", "com"))
a vector including all list information
Dimension of observation vecor.
Number of multivariate normal classes.
A g-dimensional vector for the initial values of the mixing proportions.
A \(p \times g\) matrix for the initial values of the location parameters.
A \(p\times p\) covariance matrix,or a list of g covariance matrices with dimension \(p\times p \times g\).
It is assumed to fit the model with a common covariance matrix if sigma
is a \(p\times p\) covariance matrix;
otherwise it is assumed to fit the model with unequal covariance matrices.
A 2-dimensional vector containing the initial values of the coefficients in the logistic function of the Shannon entropy.
Three types to fit to the model, 'ign' indicates fitting the model on the basis of the likelihood that ignores the missing label mechanism, 'full' indicates that the model to be fitted on the basis of the full likelihood, taking into account the missing-label mechanism, and 'com' indicate that the model to be fitted to a completed classified sample.