[R] Where to learn how to deal with time class variable?

From: Kerry Bush <kerryrekky_at_yahoo.com>
Date: Mon 18 Jul 2005 - 04:23:38 EST

Dear R-helpers,
  In my data set, I have a time variable 'RecordTime' whose class property is 'times'. When I list my data set, I see the values of RecordTime is like 10:20:30 in a 'h:m:s' format. Suppose I want to choose all the data after 10 o'clock, then use


just doesn't work. I noticed that all the values of RecordTime seem to take some decimals when using str(data). But how can I easily find the correspondence between those decimals and the exact times? I have looked at the help file of POSIXlt and related functions. Yet I couldn't find any useful instruction on this issue.

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon Jul 18 04:32:55 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:46 EST