Re: [R] Sort data by month

2013-05-22 Thread arun
Regards, Arun   From: "zilefacel...@yahoo.com" To: arun Cc: R help Sent: Thursday, May 23, 2013 1:42 AM Subject: Re: Re: [R] Sort data by month Hi AK, Thanks so much. Problem well handled. Atem. -- Original Message -

Re: [R] Sort data by month

2013-05-22 Thread arun
ntical(datNew,datNew2) #[1] TRUE A.K. From: Zilefac Elvis To: arun Cc: R help Sent: Thursday, May 23, 2013 12:32 AM Subject: Re: [R] Sort data by month Hi Ak, I seems to work correctly with your data. Please try it on my data (attached). My data is month

Re: [R] Sort data by month

2013-05-22 Thread Zilefac Elvis
. From: arun To: Zilefac Elvis Cc: R help Sent: Wednesday, May 22, 2013 8:47 PM Subject: Re: [R] Sort data by month Hi, May be this helps. date1<-seq.Date(as.Date("01/01/2000",format="%d/%m/%Y"),as.Date("31/12/2010",format="%d/%m/%Y&q

Re: [R] Sort data by month

2013-05-22 Thread arun
2010-12-24 26.17041 4012 2010-12-25 24.76579 4013 2010-12-26 25.49849 4014 2010-12-27 23.64199 4015 2010-12-28 23.97338 4016 2010-12-29 24.96617 4017 2010-12-30 24.07872 4018 2010-12-31 25.25245 A.K. - Original Message - From: Zilefac Elvis To: "r-help@r-project.org" Cc: Sent:

[R] Sort data by month

2013-05-22 Thread Zilefac Elvis
Hello, I have a 'zoo' object containing dates [dd/mm/yr] in the first column and values in the second column. I tried as.Date but did not succeed. Here is an example of date format  01/01/2000 01/02/2000 ... 01/12/2000 01/01/2001 01/02/2001 ... 01/12/2000   etc. I would like to sort all Jans fro