Skip to content
Prev 300915 / 398503 Next

Bug in my code (finding nonzero min)

Strictly, it's calculating the minimum of the positive values in each row.

And you could do that with a bit less code using 
q[,1] <- apply(remain, 1, function(x) min(x[x>0]))
*******************************************************************
This email and any attachments are confidential. Any use...{{dropped:8}}