list2par {gmmsslm}R Documentation

Transfer a list into a vector

Description

Transfer a list into a vector

Usage

list2par(p, g, pi, mu, sigma, xi = NULL, type = c("ign", "full", "com"))

Arguments

p

Dimension of observation vecor.

g

Number of multivariate normal classes.

pi

A g-dimensional vector for the initial values of the mixing proportions.

mu

A p \times g matrix for the initial values of the location parameters.

sigma

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.

xi

A 2-dimensional vector containing the initial values of the coefficients in the logistic function of the Shannon entropy.

type

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.

Value

par

a vector including all list information


[Package gmmsslm version 1.1.5 Index]