Skip to content
Prev 248267 / 398502 Next

Extract NA data rows

hi i have the following dataframe 

x	y
1	345
6	NA
8	123
32	123
12	NA
6	124
7	NA

and i want to extract the data rows which contains "NA" data, I tried

subset(dataframe,y=="NA") 

but fail. if you know the answers, please let me know thanks.

typhoong