gen_default_mcmcPars | R Documentation |
gen_default_mcmcPars
supplies some default MCMC parameters.
gen_default_mcmcPars( iterations = 10000, popt = 0.44, opt_freq = 1000, thin = 1, adaptive_period = 5000, save_block = 100 )
iterations |
numeric vector of length 1: number of iterations for which to run MCMC (excluding adaptive period) |
popt: |
numeric vector of length 1: optimum acceptance ratio for adapting step size |
opt_freq: |
numeric vector of length 1: adjust step size per this many number of iterations during adaptive period |
thin: |
numeric vector of length 1: save state of chain and parameter values to file every this many iterations |
adaptive_period: |
numeric vector of length 1: number of iterations for which to adapt MCMC |
save_block: |
numeric vector of length 1: number of iterations to hold in memory |
All arguments are optional (to overwrite defaults)
a named vector with the above elements
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.