Re: [R] Two time measures

2010-11-27 Thread Bill.Venables
I think all you need is ?split -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Eduardo de Oliveira Horta Sent: Sunday, 28 November 2010 8:02 AM To: r-help@r-project.org Subject: [R] Two time measures Hello! I have a csv file

Re: [R] Two time measures

2010-11-27 Thread Gabor Grothendieck
On Sat, Nov 27, 2010 at 5:02 PM, Eduardo de Oliveira Horta wrote: > Hello! > > I have a csv file of intra-day financial data (5-min closing prices) that > looks like this: (obs - the dates are formated as day/month/year, as is > usual here in Brazil) > > Date;Time;Close > 01/09/2009;10:00;56567 >

Re: [R] Two time measures

2010-11-27 Thread jim holtman
Try this: > x <- structure(list(Date = c("01/09/2009", "01/09/2009", "01/09/2009", + "01/09/2009", "01/09/2009", "01/09/2009", "02/09/2009", "02/09/2009", + "02/09/2009", "02/09/2009", "02/09/2009", "02/09/2009"), Time = c("10:00", + "10:05", "10:10", "16:45", "16:50", "16:55", "10:00", "10:05", +

[R] Two time measures

2010-11-27 Thread Eduardo de Oliveira Horta
Hello! I have a csv file of intra-day financial data (5-min closing prices) that looks like this: (obs - the dates are formated as day/month/year, as is usual here in Brazil) Date;Time;Close 01/09/2009;10:00;56567 01/09/2009;10:05;56463 01/09/2009;10:10;56370 ##(goes on all day) 01/09/2009;16:45;