list2par {EMMIXSSL}R Documentation

Transfer a list into a vector

Description

Transfer a list into a vector

Usage

list2par(
  p,
  g,
  pi,
  mu,
  sigma,
  ncov = 2,
  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 if ncov=1, or a list of g covariance matrices with dimension p\times p \times g if ncov=2.

ncov

Options of structure of sigma matrix; the default value is 2; ncov = 1 for a common covariance matrix; ncov = 2 for the unequal covariance/scale 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 EMMIXSSL version 1.1.1 Index]