Crude timings based on
Sys.time. microbenchmark provides a more accurate result.
1 2 3
Where to do the assignment. By default, assigns into the global environment.
tic makes a reference to the current time in the global environment.
toc compares elapsed time and returns the difference.
The data.table package formerly had these functions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.