Learn R Programming

rethinking (version 2.13)

progbar: 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

Value

Details

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