Closed discoleo closed 1 year ago
Enhanced version of the function:
which.percol = function(m) { nc = ncol(m); id1 = m[, 1]; id2 = m[, nc]; id2 = id2[id2 > 0]; idP = intersect(id2, id1); return(idP); }
Function which.percol
Enhanced version of the function:
R Code