1 gridLambda = function(phiInit, rhoInit, piInit, gamInit, X, Y, gamma, mini, maxi, tau){
3 p = dimension(phiInit)[1]
4 m = dimension(phiInit)[2]
5 k = dimension(phiInit)[3]
6 list_EMG = EMGLLF(phiInit,rhoInit,piInit,gamInit,mini,maxi,1,0,X,Y,tau)
7 #.C("EMGLLF", phiInit = phiInit, rhoInit = rhoInit, ...)
13 grid = array(0, dim=c(p,m,k))
16 grid[i,j,] = abs(S[i,j,]) / (n*pi^gamma)
20 grid = grid[grid <=1 ]
26 #test pour voir si formatage à la fin de grid ok
27 grid= array(mvrnorm(5*5*2,1,1), dim=c(5,5,2))
29 grid = grid[grid<= 1 ]