1 gridLambda = function(phiInit, rhoInit, piInit, gamInit, X, Y, gamma, mini, maxi, tau)
8 list_EMG = .Call("EMGLLF",phiInit,rhoInit,piInit,gamInit,mini,maxi,1,0,X,Y,tau)
10 grid = array(0, dim=c(p,m,k))
14 grid[i,j,] = abs(list_EMG$S[i,j,]) / (n*list_EMG$pi^gamma)