[R] Deleting rows with missing data

jim holtman jholtman at gmail.com
Mon Apr 21 15:11:17 CEST 2008


?complete.cases

On Mon, Apr 21, 2008 at 8:43 AM, Charles Vetterli
<cvetterli at sympatico.ca> wrote:
> Hi folks:
>
> I have a data set v1, v2, ... v10.
> Can anyone tell me how to create a new data set where the entire row is
> deleted if, say, v5, is missing, is NA on that row?
>
> Thanks,
> Charles
>
> ______________________________________________
> 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.
>



-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem you are trying to solve?



More information about the R-help mailing list