update_timer: update_timer function

View source: R/utilities.R

update_timerR Documentation

update_timer function

Description

A more advanced update timer for elapsed time in a for loop

Usage

update_timer(start_time, cur_time = Sys.time(), cur_iter, total_iter)

Arguments

start_time

A 'Sys.time()' object documenting the time the loop started

cur_time

A 'Sys.time()' object documenting the current time. default is current system time

cur_iter

The current iteration of the for loop

total_iter

The total number of iterations of the loop

Examples

update_timer()


clmacleod/highlandr documentation built on Feb. 18, 2025, 1:31 p.m.