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

Description Usage Arguments Value Examples

View source: R/transform.R

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)

radiant.data documentation built on May 29, 2017, 2:52 p.m.

Search within the radiant.data package
Search all R packages, documentation and source code