Re: [R] time series from timed data

2011-03-22 Thread Gabor Grothendieck
On Tue, Mar 22, 2011 at 6:49 PM, Sam Steingold wrote: > Hi, > thanks for your reply. > >> * Gabor Grothendieck [2011-03-18 17:51:03 -0400]: >> On Fri, Mar 18, 2011 at 2:19 PM, Sam Steingold wrote: >> >> 2. An alternative that won't generate a warning message but involves a >> double read is: >>

Re: [R] time series from timed data

2011-03-22 Thread Sam Steingold
Hi, thanks for your reply. > * Gabor Grothendieck [2011-03-18 17:51:03 -0400]: > On Fri, Mar 18, 2011 at 2:19 PM, Sam Steingold wrote: > > 2. An alternative that won't generate a warning message but involves a > double read is: > > library(zoo) > toPOSIXct <- function(x) as.POSIXct(trunc(as.POSI

Re: [R] time series from timed data

2011-03-18 Thread Gabor Grothendieck
On Fri, Mar 18, 2011 at 2:19 PM, Sam Steingold wrote: > Hi, > I have data with multiple sub-second entries: > > 2011/03/15 09:32:15.035619,-0.403103,1.09664,48.6,126.92,117.32 > 2011/03/15 09:32:15.069331,-0.39851,1.09874,48.6,126.92,117.32 > 2011/03/15 09:32:15.289135,-0.402463,1.10084,48.59,126.

[R] time series from timed data

2011-03-18 Thread Sam Steingold
Hi, I have data with multiple sub-second entries: 2011/03/15 09:32:15.035619,-0.403103,1.09664,48.6,126.92,117.32 2011/03/15 09:32:15.069331,-0.39851,1.09874,48.6,126.92,117.32 2011/03/15 09:32:15.289135,-0.402463,1.10084,48.59,126.92,117.32 2011/03/15 09:32:15.296110,-0.450244,1.10063,48.59,126.9