View source: R/calculate_time_remaining.R
calculate_time_remaining | R Documentation |
Calculate the time remaining after an iteration of a loop is completed.
calculate_time_remaining( iteration, total_iterations, time_value_per_iteration, time_unit_per_iteration = c("seconds", "minutes", "hours", "days", "weeks", "months", "years", "milliseconds", "microseconds", "nanoseconds", "picoseconds") )
iteration |
Integer of the iteration. |
total_iterations |
Integer of total iterations in the loop. |
time_value_per_iteration |
Numeric of the time per iteration. |
time_unit_per_iteration |
Time unit that is passed to |
DETAILS
Duration class object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.