as.timeDay | R Documentation |
as.timeDay
Valid conversions for function as.timeDay
.
as.timeDay(time, format) ## S4 method for signature 'timeDay,missing' as.timeDay(time, format) ## S4 method for signature 'numeric,missing' as.timeDay(time, format) ## S4 method for signature 'character,character' as.timeDay(time, format) ## S4 method for signature 'character,missing' as.timeDay(time, format)
time |
the time of day in character format. |
format |
The format for converting the time of day. See |
Inconsistent formats for time
will result in an error. Missing values
or empty strings in time
will result in missing values in the output.
as.timeDay("10:00") as.timeDay("3 PM", format="%I %p")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.