R/transform.R
as_hms.Rd
Convert input in hour-minute-second format to time
as_hms(x)
Input variable
Time variable of class Period
as_hms("12:45:00")#> [1] "12H 45M 0S"if (FALSE) { as_hms("12:45:00") %>% hour as_hms("12:45:00") %>% second }