so it could be zero in both cases when given column has 0 set in it -- View this message in context: http://r.789695.n4.nabble.com/how-to-find-smallest-non-negative-and-biggest-non-positive-number-in-a-matrix-column-tp3077870p3077870.html Sent from the R help mailing list archive at Nabble.com.