minuteTime {actel} | R Documentation |
Convert numeric time to HH:MM
Description
Convert numeric time to HH:MM
Usage
minuteTime(x, format = c("h", "m", "s"), seconds = TRUE)
Arguments
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. |
Value
a string or vector of strings corresponding to the character hour equivalent of the numeric input.
[Package actel version 1.3.0 Index]