progbar: Progress display

Description Usage Arguments Details Author(s)

Description

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

Usage

1
2
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


joepowers16/rethinking documentation built on June 2, 2019, 6:52 p.m.