progbar: Progress display

View source: R/utilities.r

progbarR Documentation

Progress display

Description

Provides a progress display with estimated time remaining, assuming rate constant process.

Usage

progbar(current, min = 0, max = 100, starttime,
                 update.interval = 100, show.rate = FALSE)

Arguments

current

Current loop index of process

min

Minimum loop index, usually 0 or 1

max

Maximum loop index

starttime

Time stamp when process began, from Sys.time

update.interval

How often to display progress

Details

This function provides useful progress information and estimated time until completion for long looped operations, like sampling from MCMC.

Author(s)

Richard McElreath


rmcelreath/rethinking documentation built on Sept. 18, 2023, 2:01 p.m.