Convert hh:mm:ss time to hh.hhh
Convert hh:mm:ss time to hh.hhh
decimalTime(input, unit = c("h", "m", "s"))
input |
Single string or a vector of strings containing hours:minutes or hours:minutes:seconds. |
unit |
the desired units of the output, one of "h" (hours), "m", (minutes) or "s" (seconds). |
A number or vector of numbers corresponding to the decimal hour equivalent of the character input.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.