print_loop_info: Print loop info

View source: R/print_loop_info.r

print_loop_infoR Documentation

Print loop info

Description

Prints progress

Usage

print_loop_info(i, n, len = 10, prefix = "", suffix = "")

Arguments

i

loopin index (i in 1:n)

n

length of looping index

len

number of times to get progress information

prefix

printing prefix

suffix

printing suffix

Examples

n <- 1E3
for(i in 1:n){
   print_loop_info(i, n)
   print_loop_info(i, n, len = 20, "       ", " <yeah>")
}; rm(i, n)

renlund/proh documentation built on March 25, 2023, 10:07 a.m.