as_hms: Convert input in hour-minute-second format to time

Description

Convert input in hour-minute-second format to time

Usage

1
as_hms(x)

Arguments

x

Input variable

Value

Time variable of class Period

Examples

1
2
3
4
5
6
as_hms("12:45:00")
## Not run: 
as_hms("12:45:00") %>% hour
as_hms("12:45:00") %>% second

## End(Not run)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.