Learn R Programming

radiant.data (version 0.8.0)

as_hm: Convert input in hour-minute format to time

Description

Convert input in hour-minute format to time

Usage

as_hm(x)

Arguments

x
Input variable

Value

Time variable of class Period

Examples

Run this code
as_hm("12:45")
## Not run: ------------------------------------
# as_hm("12:45") %>% minute
## ---------------------------------------------

Run the code above in your browser using DataLab