,]
Cheers,
Bert Gunter
Genentech
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of joseph
Sent: Thursday, February 14, 2008 8:53 PM
To: r-help@r-project.org
Cc: r-help@r-project.org
Subject: [R] Remove rows with NA across all columns
Hi
I have a data frame
Hi
I have a data frame df with 3 columns. Some rows are NA across all 3 columns.
How can I remove rows with NA across all columns?
df=data.frame(col1=c(1:3,NA,NA,4),col2=c(7:9,NA,NA,NA),col3=c(2:4,NA,NA,4))
Thanks
Joseph
2 matches
Mail list logo