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






-- 
View this message in context: 
http://r.789695.n4.nabble.com/Extract-NA-data-rows-tp3235568p3235568.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to