Re: [R] sort data.frame by specific date column

2009-07-10 Thread Mark Knecht
On Fri, Jul 10, 2009 at 7:44 PM, milton ruser wrote: > Hi Mark, > > Like this? > > mydf<-read.table(stdin(), head=T) > Trade PosType  EnDate EnTime  ExDate ExTime PL_Pos > 1   1 1040107    915 1040107   1300    164 > 2   1 1040108    909 1040108   1300    184 > 3   1 1040115    921 1040

Re: [R] sort data.frame by specific date column

2009-07-10 Thread milton ruser
Hi Mark, Like this? mydf<-read.table(stdin(), head=T) Trade PosType EnDate EnTime ExDate ExTime PL_Pos 1 1 1040107915 1040107 1300164 2 1 1040108909 1040108 1300184 3 1 1040115921 1040115 1300 64 4 1 1040120 1134 1040120 1300124 5

[R] sort data.frame by specific date column

2009-07-10 Thread Mark Knecht
I have a data.frame that was built from a number of smaller data.frames with rbind. Each ssmaller data.frame bound together runs over the same date ranges. The format of the whole thing looks like this: Trade PosType EnDate EnTime ExDate ExTime PL_Pos 11 1 1040107915 10401