Description Usage Value Examples
View source: R/utility_functions.R
The functions tick
and tock
can be
used to roughly estimate the run time of a segment
of code.
1 2 3 |
The function tick
creates a global
variable 'run_time' with the current system time.
The function tock
then updates 'run_time'
with the difference between the current system
time and the previous value of 'run_time'.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.