1 #' Construct the set of relevant indices -> ED: je crois que cette fonction n'est pas utile
3 #' @param phi regression matrix, of size p*m
4 #' @param thresh threshold to say a cofficient is equal to zero
6 #' @return a list with A, a matrix with relevant indices (size = p*m) and B, a
7 #' matrix with irrelevant indices (size = p*m)
9 indicesSelection = function(phi, thresh = 1e-6)
24 if(max(phi[j,mm,]) > thresh)
35 return (list(A=A,B=B))