I have a variable in drtn format that looks like this:
f <- structure(c(223, 35, 3, 16, 2, 183, 95, 146, 38, 30), class = "difftime", units = "secs")
< drtn> 223 secs, 35 secs, 3 secs, 16 secs, 2 secs, 183 secs, 95 secs, 146 secs, 38 secs
I want to convert it to a time format like HMS
or 00:00:00
.
I want to avoid using the as_date function as this will provide the date in addition to the time but I am just looking for it to be in the HMS
format similar to this:
< time> 00:03:43, 00:00:35, 00:00:03, 00:00:16, 00:00:02, 00:03:03, 00:01:35
...
Thank you for your Help!