Re: [R] order a data frame after date and hour

2011-07-29 Thread anglor
Thanks for a patient reply... I feel really stupid about this other problem dput(). What I didn't understand is how I can make the same thing with my data. You use rnorm and rpois which generates random poisson ditribution and normal distribution purhaps just to create a data.frame? Should I just

Re: [R] order a data frame after date and hour

2011-07-29 Thread anglor
Hi, thank you for the reply! I'm sorry I added so little information. I thought DateHour was a character class but it was a factor. So I converted to character and order worked as you described. For this time I only wanted to convert DateHour to a number because I thought I had to do that in or

Re: [R] order a data frame after date and hour

2011-07-28 Thread Dennis Murphy
Hi: On Thu, Jul 28, 2011 at 1:05 AM, anglor wrote: > Hi, > > I've got a dataframe looking like this: > >                DateHour TcuvInt.A TcuvInt.B TcuvInt.C > 1757 2007-03-15 14:00:00                7.83       > 1758 2007-03-15 14:30:00      7.42      7.69       > 1759 2007-03-15 15:00:00      

Re: [R] order a data frame after date and hour

2011-07-28 Thread Justin
anglor dpes.gu.se> writes: > > Hi, > > I've got a dataframe looking like this: > > DateHour TcuvInt.A TcuvInt.B TcuvInt.C > 1757 2007-03-15 14:00:007.83 > 1758 2007-03-15 14:30:00 7.42 7.69 > 1759 2007-03-15 15:00:00 7.53 7.75

[R] order a data frame after date and hour

2011-07-28 Thread anglor
Hi, I've got a dataframe looking like this: DateHour TcuvInt.A TcuvInt.B TcuvInt.C 1757 2007-03-15 14:00:007.83 1758 2007-03-15 14:30:00 7.42 7.69 1759 2007-03-15 15:00:00 7.53 7.75 1760 2007-03-15 15:30:00 7.65 7.73