tmr_reset {hmstimer} | R Documentation |
Reset hms Timer
Description
Resets a hms_timer()
by creating a new one.
Usage
tmr_reset(x, seconds = 0)
Arguments
x |
A |
seconds |
A non-negative numeric scalar of the initial number of seconds. |
Value
A hms_timer()
.
See Also
Other start_stop:
tmr_elapsed()
,
tmr_is_started()
,
tmr_is_stopped()
,
tmr_print()
,
tmr_start()
,
tmr_stop()
,
tmr_timer()
Examples
tmr <- tmr_timer(10)
print(tmr)
tmr_reset(tmr)
[Package hmstimer version 0.2.1 Index]