?na.omit

Weidong Gu, 

Department of Medicine
University of Alabama, Birmingham
1900 University Blvd., Birmingham, Alabama 35294
Email: [EMAIL PROTECTED]
PH: (205)-975-9053


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Charles Vetterli
Sent: Monday, April 21, 2008 7:44 AM
To: R-help@r-project.org
Subject: [R] Deleting rows with missing data

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@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.

______________________________________________
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