Skip to content

how to get such a subset of a matrix?

1 message · Liaw, Andy

#
Try:

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

Andy