.ReportTimings | R Documentation |
Given a list of actions and when they happened, e.g. (start=time1, firstAction=time2, secondAction=time3, ...), this function will output a message indicating that firstAction took (time2-time1) seconds, secondAction took (time3-time2) seconds, etc.
.ReportTimings(msg, timings)
msg |
a message to print before the timings |
timings |
a list of the form (start=time1, firstAction=time2, ...) where all timings were obtained from proc.time()[["elapsed"]]. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.