Learn R Programming

radiant.data (version 1.0.6)

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
# NOT RUN {
as_hm("12:45")
# }
# NOT RUN {
as_hm("12:45") %>% minute()
# }

Run the code above in your browser using DataLab