Learn R Programming

pmwg (version 0.2.7)

update_progress_bar: A function that updates the accept_progress_bar with progress and accept rate

Description

A function that updates the accept_progress_bar with progress and accept rate

Usage

update_progress_bar(pb, value, extra = 0)

Value

The old value that was present before updating

Arguments

pb

The progress bar object

value

The value to set the bar width to

extra

A value that represents the number of accepted particles