Re: [R] How to manipulate the time data without the date?

From: John Kane <>
Date: Thu, 06 Nov 2008 10:06:30 -0800 (PST)

Does this help?

mytimes <- times(tms)

> From: tedzzx <>
> Subject: [R] How to manipulate the time data without the date?
> To:
> Received: Thursday, November 6, 2008, 12:10 PM
> Hi,all
> I only got the time data such as:
> tms<-c("19:30:23","18:39:10".....)
> I want to manipulate this time series data. For example,
> plus one second(or
> minute) or minus one second
> This data only has the time(h:m:s), without the date. I
> know that there are
> chron package, ISOPix class and the timeDate class, but all
> these class need
> the input of date.
> How can we manipulate the time data without the date?
> Thanks advance
> Ted
> --

[[elided Yahoo spam]] mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Thu 06 Nov 2008 - 18:08:27 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 06 Nov 2008 - 18:30:23 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive