as_hms {radiant.data}R Documentation

Convert input in hour-minute-second format to time

Description

Convert input in hour-minute-second format to time

Usage

as_hms(x)

Arguments

x

Input variable

Value

Time variable of class Period

Examples

as_hms("12:45:00")
## Not run: 
as_hms("12:45:00") %>% hour()
as_hms("12:45:00") %>% second()

## End(Not run)

[Package radiant.data version 1.6.6 Index]