default_mcmc_controls: Set default for MCMC control

View source: R/gibbs_draws.R

default_mcmc_controlsR Documentation

Set default for MCMC control

Description

Set default for MCMC control

Usage

default_mcmc_controls()

Value

a list of default MCMC control parameters, containing:

- n_iter: the number if iterations of the MCMC to perform

- burnin: the burnin to use; MCMC iterations will only be recorded after the burnin

- thin: MCMC iterations will only be recorded after the burnin and every 'thin' iteration

Values can then be manually be edited as in the examples below.

Examples

mcmc_control<- default_mcmc_controls()
# change to run for 10 times longer
mcmc_control$n_iter <- mcmc_control$n_iter * 10


annecori/EpiEstim documentation built on Oct. 14, 2023, 1:54 a.m.