Learn R Programming

radiant.data (version 1.6.3)

as_hm: Convert input in hour-minute format to time

Description

Convert input in hour-minute format to time

Usage

as_hm(x)

Value

Time variable of class Period

Arguments

x

Input variable

Examples

Run this code
as_hm("12:45")
if (FALSE) {
as_hm("12:45") %>% minute()
}

Run the code above in your browser using DataLab