[R] Odp: Handling missing data

Petr PIKAL petr.pikal at precheza.cz
Mon Sep 21 11:06:01 CEST 2009


Hi

did you try

?complete.cases or ?na.omit?

nadata[complete.cases(nadata),]

Regards
Petr

r-help-bounces at r-project.org napsal dne 21.09.2009 08:16:04:

> 
> I have to remove missing data both in character and numeric datatype.I 
tried
> using NA condition but it is not working ,please help me to solve this.
> -- 
> View this message in context: 
http://www.nabble.com/Handling-missing-data-
> tp25530192p25530192.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at 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.




More information about the R-help mailing list