1 basic_Init_Parameters = function(n,p,m,k)
3 phiInit = array(0, dim=c(p,m,k))
5 piInit = (1./k)*rep.int(1,k)
7 rhoInit = array(0, dim=c(m,m,k))
11 gamInit = 0.1*array(1, dim=c(n,k))
12 R = sample(1:k,n, replace=TRUE)
15 gamInit = gamInit/sum(gamInit[1,])
17 return (list(phiInit, rhoInit, piInit, gamInit))