run_chains: Run a sampler object

Description Usage Arguments

View source: R/run_until_converged.R

Description

Run a sampler object

Usage

1
run_chains(sampler, inits, nchains)

Arguments

sampler

A named list containing fun (the function to call as the sampler), init_fun (the function used to generate the initial conditions), and args (a named list of arguments for the sampler function).

inits

Named list of initial conditions.

nchains

Number of chains (default = 3)


ashiklom/mvtraits documentation built on Sept. 4, 2019, 7:43 a.m.