Description Usage Arguments Value
Creates a background table for logging and reading times. This can be useful for calculating the run time of code, or particularly, for helping to estimate the time remaining in an iterative process.
1 |
action |
Character string stating the action to be performed. Accepts 3 values: "log", "return", and "clear". "log" appends the table with a new row containing the current system time, as well as calculations for iteration run time and total run time. "return" returns the log for viewing or storing as a dataframe. "clear" Clears the log. |
unit |
Base unit to use when measuring time. Accepts "secs", "mins", "hours", and "days". |
comment |
Character string containing any comment the user may want to in that line of the time log. |
Data frame containing times logged, stored in the background of the current instance.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.