Skip to contents

Run chains simultaneously. This differs from monty_runner_parallel, which runs chains individually in parallel by working with models that can evaluate multiple densities at the same time. There are situations where this might be faster than running in parallel, but primarily this exists so that we can see that samplers can work with multiple samples at once.

Usage

monty_runner_simultaneous(progress = NULL)

Arguments

progress

Optional logical, indicating if we should print a progress bar while running. If NULL, we use the value of the option monty.progress if set, otherwise we show the progress bar (as it is typically wanted). The progress bar itself responds to cli's options; in particular cli.progress_show_after and cli.progress_clear will affect your experience.

Value

A runner of class monty_runner that can be passed to monty_sample()