tod | R Documentation |
%H:%M:%S
or %H:%M:00
formatRetrieve time of day in %H:%M:%S
or %H:%M:00
format
tod(x, ...) ## Default S3 method: tod(x, rational = attr(x, "rational"), ...) ## S3 method for class 'daytime' tod(x, rational = attr(x, "rational"), ...)
x |
a |
... |
arguments passed to |
rational |
logical. Return partial minutes as a numeric |
For objects that do not inherit from daytime
or
POSIXt
, the default method is a chain of casts, first to
daytime
and then to character
.
character value(s) in the desired format
x <- Sys.time() tod(x, FALSE) tod(x, TRUE) tod(0, FALSE) tod(720, FALSE) tod(1439.999, TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.