Timekeeper | R Documentation |
Create a Timekeeper which holds one or more stopwatches on its fob.
Timekeeper(name = 1, start_watch = TRUE)
name |
if start_watch is TRUE, then a name must be provided |
start_watch |
logical, if TRUE start a new Stopwatch |
an instance of TimekeeperRefClass
Other Stopwatch Timekeeper: Stopwatch
,
Timekeeper_elapsed
,
Timekeeper_has_watch
,
Timekeeper_reset
,
Timekeeper_start
,
Timekeeper_stop
## Not run: # create a container class, starting a stopwatch right away timer <- Timekeeper(start_watch = TRUE, name = 'master') Sys.sleep(3) # add another stopwatch timer$start("another") # let's see what we have so far timer timer$stop("another") timer$elapse("master") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.