1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/initSmallEM.R
5 \title{initialization of the EM algorithm}
7 initSmallEM(k, X, Y, tau)
10 \item{k}{number of components}
12 \item{X}{matrix of covariates (of size n*p)}
14 \item{Y}{matrix of responses (of size n*m)}
16 \item{tau}{threshold to stop EM algorithm}
19 a list with phiInit, rhoInit, piInit, gamInit
22 initialization of the EM algorithm