How can I remove rows which include NA values in a subset of columns?
For the following data.frame, I want to remove rows which have NA in both columns ID1 and ID2:
name ID1 ID2
a NA NA
b NA 2
c 3 NA
I want to receive this one:
name ID1 ID2
b NA 2
c 3 NA