Re: [R] sorting data whilst ignoring NA's

2010-03-10 Thread William Dunlap
> -Original Message- > From: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] On Behalf Of emwater > Sent: Wednesday, March 10, 2010 1:07 AM > To: r-help@r-project.org > Subject: Re: [R] sorting data whilst ignoring NA's > > > Thanks

Re: [R] sorting data whilst ignoring NA's

2010-03-10 Thread emwater
Thanks for these suggestions. I tried them out and I get the error message: Error in qdata$flow : $ operator is invalid for atomic vectors Can anyone offer further suggestions on how to extract the values from atomic vectors? Thanks again Emma -- View this message in context: http://n4.nabble

Re: [R] sorting data whilst ignoring NA's

2010-03-09 Thread Peter Ehlers
On 2010-03-09 9:57, emwater wrote: Hello, I am very new to R and have hit my first main problem that I hope someone can easily resolve. I have some data that looks like this (there are 20,000 rows): qdata day month yearflow [1,] 210 1945 NA [2,] 310 194

Re: [R] sorting data whilst ignoring NA's

2010-03-09 Thread David Winsemius
On Mar 9, 2010, at 11:57 AM, emwater wrote: Hello, I am very new to R and have hit my first main problem that I hope someone can easily resolve. I have some data that looks like this (there are 20,000 rows): qdata day month yearflow [1,] 210 1945 NA [2,] 3

[R] sorting data whilst ignoring NA's

2010-03-09 Thread emwater
Hello, I am very new to R and have hit my first main problem that I hope someone can easily resolve. I have some data that looks like this (there are 20,000 rows): > qdata day month yearflow [1,] 210 1945 NA [2,] 310 1945 NA [3,] 410 1945 NA