stopwatch | R Documentation |
Timer and Stopwatch
stopwatch(max_time = 1000, pause = 0.01, digits = 5) timer(time, pause = 0.01, digits = 5)
max_time |
time in seconds after which the stopwatch is forced to stop, use |
pause |
time duration of the pause between 2 time increments displayed (it should better be small). |
digits |
number of digits displayed. |
time |
initial time (in seconds) for the timer. |
timer()
: Timer
## Not run: stopwatch(10) stopwatch(20) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.