Hi,
I could not find a function that returns a time in hours and minutes
given seconds as argument. I looked also in the chron package.
I would need something like this:
mytime(61) #61 are seconds
[1] 00:01:01
mytime(7385) #7385 are seconds
[1] 02:03:05
Am I missing something? or should I
Try this:
library(chron)
times(100/(24*60*60)) # 100 seconds
[1] 00:01:40
On Fri, Oct 30, 2009 at 5:37 AM, Stefano Leonardi
stefano.leona...@unipr.it wrote:
Hi,
I could not find a function that returns a time in hours and minutes given
seconds as argument. I looked also in the chron
2 matches
Mail list logo