Skip to content
Prev 275497 / 398506 Next

Extracting dataframe rows containing NAs in one column

I'm thinking you need to spend some time reading about subsetting in R:

temp[!complete.cases(temp),] # I don't think you need/want/should use the [,4]

Michael
On Tue, Oct 25, 2011 at 12:38 PM, kaallen <kaallen at liv.ac.uk> wrote: