tmr_format {hmstimer} | R Documentation |
Format hms Timer
Description
Converts a hms_timer()
to a string of the clock time
after rounding it to the number of digits.
Usage
tmr_format(x, digits = 3, ..., print_title = TRUE)
Arguments
x |
A |
digits |
A count of the number of decimal places. |
... |
These dots are for future extensions and must be empty. |
print_title |
A flag specifying whether to print the title. |
Details
Negative values of digit are not permitted.
Value
A character string.
See Also
Other round:
tmr_ceiling()
,
tmr_floor()
,
tmr_round()
Examples
tmr_format(tmr_timer(61.66))
tmr_format(tmr_timer(61.66), digits = 0)
[Package hmstimer version 0.3.0 Index]