run_mcmc | R Documentation |
Run MCMC for multiple scenarios with provided data
run_mcmc(dt, priorObj, n.chains, n.adapt, n.burn, n.iter, seed, path)
dt |
a list of |
priorObj |
an object of class |
n.chains |
number of parallel chains for the model |
n.adapt |
number of iterations for adaptation |
n.burn |
number of iterations discarded as burn-in |
n.iter |
number of iterations to monitor |
seed |
the seed of random number generator. Default is the first element of .Random.seed |
path |
file name for saving the output including folder path |
a data.frame
containing summary statistics of the posterior distribution for each simulation
# examples in vignette
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.