Skip to content
Prev 69274 / 398528 Next

how to get such a subset of a matrix?

Xiao Shi wrote on 5/6/2005 6:21 AM:
How about:

a[rowSums(is.na(a)) < 2, ]

HTH,

--sundar