powered by
Creates a hms_timer().
hms_timer()
tmr_timer(seconds = 0, start = FALSE, ..., title = "")
A hms_timer().
A non-negative numeric scalar of the initial number of seconds.
A flag specifying whether to start the timer.
These dots are for future extensions and must be empty.
A string of the title.
Other start_stop: tmr_elapsed(), tmr_is_started(), tmr_is_stopped(), tmr_print(), tmr_reset(), tmr_start(), tmr_stop()
tmr_elapsed()
tmr_is_started()
tmr_is_stopped()
tmr_print()
tmr_reset()
tmr_start()
tmr_stop()
tmr_timer() tmr_timer(1, start = TRUE, title = "my timer") class(tmr_timer(2)) str(tmr_timer(2, start = TRUE, title = "a timer"))
Run the code above in your browser using DataLab