Creates two sets of MCMC control objects for use with mcstate::pmcmc, one with a short run for adaptation,
and one for the main run with full settings.
Usage
define_mcmc_control(
control_params,
adaptive_params,
save_trajectories,
rerun_n,
rerun_random
)Arguments
- control_params
A list with MCMC control settings including
n_steps,n_burnin,n_chains,n_workers, andn_threads_total.- adaptive_params
A list or object specifying the adaptive proposal settings (e.g., from
mcstate::adaptive_proposal()).- save_trajectories
Logical; whether to save state trajectories from the MCMC run.
- rerun_n
Integer; frequency of rerunning adaptive proposal fitting.
- rerun_random
Logical; whether rerun intervals are randomized.