Skip to content
Prev 257951 / 398506 Next

extracting names from matrix according to a condition

On 2011-04-25 10:58, ivan wrote:
Call the matrix m. Then

  rownames(m[ m[, "A"] > 0.1 & m[, "B"] < 0.1, , drop=FALSE ])

should do what you want.

Peter Ehlers