Re: [R] Package to manipulate timestamp data in format HH:MM:SS:sss

2013-09-12 Thread jim holtman
Use POSIXct for the date/time stamp. For your data you will have to substitute a period ('.') for the last colon (":"), but that is easy to do with 'sub'. You will get millisecond precision, but just barely; don't try for microseconds since for that is the limit of precision with floating point n

[R] Package to manipulate timestamp data in format HH:MM:SS:sss

2013-09-12 Thread Alecia M Moser
Hello - I have imported timestamp data (collected in OpenSHAPA) into R as .csv file. Some columns in the data frame have timestamps in the format HH:MM:SS:sss. I have not found a package that will allow simple addition and subtraction of columns with this format, although 'strptime' in 'library(ti