initSmallEM: initSmallEM

Description Usage Arguments Value

View source: R/initSmallEM.R

Description

initialization of the EM algorithm

Usage

1
initSmallEM(k, X, Y, fast)

Arguments

k

number of components

X

matrix of covariates (of size n*p)

Y

matrix of responses (of size n*m)

fast

boolean to enable or not the C function call

Value

a list with phiInit (the regression parameter reparametrized), rhoInit (the covariance parameter reparametrized), piInit (the proportion parameter is the mixture model), gamInit (the conditional expectation)


valse documentation built on May 31, 2021, 9:10 a.m.