printProgress: Print Loop Progress

View source: R/CodeAndRoll2.R

printProgressR Documentation

Print Loop Progress

Description

Prints the progress of a loop as a number and percentage.

Usage

printProgress(i = i, total, message = "Progress", digits = 0)

Arguments

i

Current iteration of the loop. Default: i.

total

Total number of iterations in the loop.

message

Optional message to display alongside the progress.

digits

Digits to display


vertesy/CodeAndRoll2 documentation built on Nov. 20, 2024, 5:23 a.m.