tmr_timer: Create hms Timer

View source: R/timer.R

tmr_timerR Documentation

Create hms Timer

Description

Creates a hms_timer().

Usage

tmr_timer(seconds = 0, start = FALSE)

Arguments

seconds

A non-negative numeric scalar of the initial number of seconds.

start

A flag indicating whether to start the timer.

Value

A hms_timer().

See Also

Other start_stop: tmr_elapsed(), tmr_is_started(), tmr_is_stopped(), tmr_print(), tmr_reset(), tmr_start(), tmr_stop()

Examples

tmr <- tmr_timer()
print(tmr)
class(tmr)

hmstimer documentation built on Sept. 20, 2022, 9:11 a.m.