parse_hms | R Documentation |
These functions convert character vectors to objects of the hms class.
NA
values are supported.
parse_hms()
accepts values of the form "HH:MM:SS"
, with optional
fractional seconds.
parse_hm()
accepts values of the form "HH:MM"
.
parse_hms(x)
parse_hm(x)
x |
A character vector |
An object of class hms.
parse_hms("12:34:56")
parse_hms("12:34:56.789")
parse_hm("12:34")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.