View source: R/mcmc-and-inits.R
set_mcmc_specs | R Documentation |
Set Specifications for MCMC
set_mcmc_specs( na = 1000, nb = 5000, nc = 3, ni = 20000, nt = 10, in.parallel = FALSE, ncores = parallel::detectCores() - 1, dev.mode = 2 )
na |
number of adaptation iterations |
nb |
number of burn-in iterations per chain |
nc |
number of chains |
ni |
number of iterations per chain |
nt |
thinning rate (every nth iteration removed) |
in.parallel |
logical if TRUE will set number chains ('nc') value to 1 |
ncores |
number of cores to run model in parallel |
dev.mode |
integer 1:3. 1=large-ish run; 2=moderate run; 3=quick, short run. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.