| time_operation | R Documentation |
Measure the time of an operation and record the duration
time_operation(expr, label, verbose = TRUE)
expr |
Expression to measure |
label |
Label for the operation |
verbose |
If TRUE, print the time information (default: TRUE) |
The value of expr. The elapsed time is recorded and can be retrieved with get_timings().
x <- time_operation(sum(1:10), "sum")
get_timings()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.