\alias{initSmallEM}
\title{initialization of the EM algorithm}
\usage{
-initSmallEM(k, X, Y, tau)
+initSmallEM(k, X, Y)
}
\arguments{
\item{k}{number of components}
\item{X}{matrix of covariates (of size n*p)}
\item{Y}{matrix of responses (of size n*m)}
-
-\item{tau}{threshold to stop EM algorithm}
}
\value{
a list with phiInit, rhoInit, piInit, gamInit