minuteTime | R Documentation |
Convert numeric time to HH:MM
minuteTime(x, format = c("h", "m", "s"), seconds = TRUE)
x |
Single string or a vector of strings containing hours:minutes or hours:minutes:seconds. |
format |
the format of x, one of "h" (hours), "m", (minutes) or "s" (seconds). |
seconds |
Logical; If TRUE, output is returned in HH:MM:SS format. |
a string or vector of strings corresponding to the character hour equivalent of the numeric input.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.