1 suppressionmodelesegaux2 = function(B1,rho,pi){
4 B2 = array(0,dim=c(dim_B1[1],dim_B1[2],dim_B1[3]))
5 nombreLambda=dim_B1[[2]]
6 glambda = rep(0,nombreLambda)
8 #for(j in 1:nombreLambda){
10 # if(B1[,,l] == B1[,,ll]){
20 suppressmodel = suppressionmodelesegaux(B1,B2,glambda,rho,pi)
21 B1 = suppressmodel[[1]]
22 ind = suppressmodel[[4]]
23 rho = suppressmodel[[5]]
24 pi = suppressmodel[[6]]
25 return(list(B1,ind,rho,pi))