Re: [R] selecting dataframe values that are not nulls

2008-09-19 Thread Adaikalavan Ramasamy
Ramya, you sent four near identical emails with different subject lines. Since the list is run by unpaid volunteers, please avoid wasting people's time (and yours too) with such redundancies. Please read http://www.r-project.org/posting-guide.html and search the mailing lists and documentation

Re: [R] selecting dataframe values that are not nulls

2008-09-17 Thread Jorge Ivan Velez
Hi Ramya, In this particular case, something like ?"complete.cases" should do the job. With this function you can delete rows with one or more NA's. Here is an example: set.seed(123) DF<-matrix(rnorm(100),ncol=10) DF[1,2]<-NA DF[1,3]<-NA DF[4,10]<-NA dim(DF) [1] 10 10 DF.noNA <- DF[complete.cases

Re: [R] selecting dataframe values that are not nulls

2008-09-17 Thread David Winsemius
On Sep 17, 2008, at 1:22 PM, Rajasekaramya wrote: Hi, I have a dataframe with 14319rows and 9 colums. for some rows there are null values.I want a dataframe without these null values.I wanna select only those that have values !=NA. kindly let me know how to do that. ?is.na -- David

[R] selecting dataframe values that are not nulls

2008-09-17 Thread Rajasekaramya
Hi, I have a dataframe with 14319rows and 9 colums. for some rows there are null values.I want a dataframe without these null values.I wanna select only those that have values !=NA. kindly let me know how to do that. Ramya -- View this message in context: http://www.nabble.com/selecting-dat