Description Usage Arguments Value Author(s)
View source: R/run_until_converged.R
Run a sampler until it has converged, or until the maximum number of attempts has been exceeded
1 2 | run_until_converged(sampler, model_type, inits, nchains, max_attempts,
save_progress, threshold, keep_samples, autofit)
|
sampler |
A named list containing |
model_type |
Type of model. Must be either |
inits |
Named list of initial conditions. |
nchains |
Number of chains (default = 3) |
max_attempts |
Maximum number of attempts for |
save_progress |
If not |
threshold |
Gelman PSRF threshold for convergence (default = 1.15) |
keep_samples |
Maximum number of samples to keep in results (default = Inf) |
autofit |
(Logical) If |
List of sample chains. Each sample chain is a named list of sampled parameters.
Alexey Shiklomanov
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.