[R] Deleting rows with missing data

From: Charles Vetterli <cvetterli_at_sympatico.ca>
Date: Mon, 21 Apr 2008 08:43:56 -0400

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?


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. Received on Mon 21 Apr 2008 - 12:46:42 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 21 Apr 2008 - 13:30:31 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive