Turn strings in class hms into periods of time.
time_deci2period(x, unit = "hour", type = "hm")
string of class lubridate::hms "HH:MM:SS"
unit to convert to
hms or hm
Period
time_deci2period(8.5)
#> [1] "08:30"
time_deci2period(1.25, "minute")
#> [1] "00:01"