inc_default: Default progress indicator function

View source: R/inc_default.R

inc_defaultR Documentation

Default progress indicator function

Description

Default progress indicator function

Usage

inc_default(i = 0L, n = 0L, steps = 25L, dot = ".")

Arguments

i

i in "i out of n"

n

n in "i out of n"

steps

Number of dots to print

dot

dot

Examples

for (i in 1:5) inc_default(i, 5)
cat("\n")
for (i in 1:100) inc_default(i, 100)
cat("\n")
for (i in 1:1000) inc_default(i, 1000)
cat("\n")
for (i in 1:1000) inc_default(i, 1000, steps = 10)
cat("\n")
for (i in 1:10) inc_default()
cat("\n")

SSBtools documentation built on Oct. 30, 2024, 5:09 p.m.