Then use the & operator:
UNCA.new <- UNCA[rowSums(is.na(UNCA[,11:23])) < 12 & rowSums(is.na(UNCA[,27:39])) < 12 & rowSums(is.na(UNCA[,40:52])) < 12 & rowSums(is.na(UNCA[,53:65])) < 12, ]
The only & is a vectorized function, and double && is unary (usually used in an if , for example).
Shane source share