Re: [R] Converting the time in a numeric value

2011-07-10 Thread jim holtman
the hours during > the day and the hours during the night. > If one day he drove 10 hours and 3 were day and 7 night, calculate the > average. > > From: amy_ruiz_go...@hotmail.com > To: rip...@stats.ox.ac.uk > Subject: RE: [R] Converting the time in a numeric value > Date: Sun,

Re: [R] Converting the time in a numeric value

2011-07-10 Thread Amy Ruiz Goyco
day and the hours during the night. If one day he drove 10 hours and 3 were day and 7 night, calculate the average. From: amy_ruiz_go...@hotmail.com To: rip...@stats.ox.ac.uk Subject: RE: [R] Converting the time in a numeric value Date: Sun, 10 Jul 2011 17:39:38 -0400 When I read the file

Re: [R] Converting the time in a numeric value

2011-07-10 Thread Gabor Grothendieck
On Sun, Jul 10, 2011 at 3:55 AM, peter dalgaard wrote: > > On Jul 10, 2011, at 09:44 , peter dalgaard wrote: > >> >> On Jul 10, 2011, at 09:15 , Prof Brian Ripley wrote: >> >> article on date-times (not the un-refereed one in R-News 4/1) to gain more >> understanding. >> >> Just to clarify, R New

Re: [R] Converting the time in a numeric value

2011-07-10 Thread peter dalgaard
On Jul 10, 2011, at 09:44 , peter dalgaard wrote: > > On Jul 10, 2011, at 09:15 , Prof Brian Ripley wrote: > > article on date-times (not the un-refereed one in R-News 4/1) to gain more > understanding. > > Just to clarify, R News articles were in general refereed (single reviewer), > at lea

Re: [R] Converting the time in a numeric value

2011-07-10 Thread peter dalgaard
On Jul 10, 2011, at 09:15 , Prof Brian Ripley wrote: article on date-times (not the un-refereed one in R-News 4/1) to gain more understanding. Just to clarify, R News articles were in general refereed (single reviewer), at least in the later years, but the one you're referring to is a "Help d

Re: [R] Converting the time in a numeric value

2011-07-10 Thread Prof Brian Ripley
On Sun, 10 Jul 2011, Amy Ruiz Goyco wrote: Hello: I am new using R. I have a file that contain in the same columns date and time like for example 2011/10/03 12:34:45.123423 p.m., but when I read the file and display the vector, I see of this way "2011-10-03 12:34:45.123423". I need to con

[R] Converting the time in a numeric value

2011-07-09 Thread Amy Ruiz Goyco
Hello: I am new using R. I have a file that contain in the same columns date and time like for example 2011/10/03 12:34:45.123423 p.m., but when I read the file and display the vector, I see of this way "2011-10-03 12:34:45.123423". I need to convert the time in a numeric and the date if is po