par2list {EMMIXSSL}R Documentation

Transfer a vector into a list

Description

Transfer a vector into a list

Usage

par2list(par, g, p, ncov = 2, type = c("ign", "full"))

Arguments

par

A vector with list information.

g

Number of multivariate normal classes.

p

Dimension of observation vecor.

ncov

Options of structure of sigma matrix; the default value is 2; ncov = 1 for a common covariance matrix that sigma is a p\times p matrix. ncov = 2 for the unequal covariance/scale matrices that sigma represents a list of g matrices with dimension p\times p \times g.

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

parlist

Return a list including mu, pi, sigma and xi.


[Package EMMIXSSL version 1.1.1 Index]