loop_counter: Loop counter

View source: R/loop_counter.R

loop_counterR Documentation

Loop counter

Description

Loop counter

Usage

loop_counter(i, n)

Arguments

i

integer indicating the ith iteration

n

integer indicating number of iterations in the loop

Examples

n <- 10

for (i in 1:n) {

  Sys.sleep(0.2)

  loop_counter(i = i, n = n)

}

kristian-bak/kb.utils documentation built on Aug. 1, 2022, 7:09 a.m.