fix memory leaks on EMGLLF, test OK for EMGrank
[valse.git] / man / initSmallEM.Rd
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/initSmallEM.R
3 \name{initSmallEM}
4 \alias{initSmallEM}
5 \title{initialization of the EM algorithm}
6 \usage{
7 initSmallEM(k, X, Y, tau)
8 }
9 \arguments{
10 \item{k}{number of components}
11
12 \item{X}{matrix of covariates (of size n*p)}
13
14 \item{Y}{matrix of responses (of size n*m)}
15
16 \item{tau}{threshold to stop EM algorithm}
17 }
18 \value{
19 a list with phiInit, rhoInit, piInit, gamInit
20 }
21 \description{
22 initialization of the EM algorithm
23 }
24