Run MCMC for multiple scenarios with provided data with parallel processing
run_mcmc_p.RdRun MCMC for multiple scenarios with provided data with parallel processing
Arguments
- dt
a list of
matrixcontaining simulated time-to-events information- priorObj
an object of class
.priorClassgenerated inset_prior- 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
- n.cores
number of processes to parallelize over (default = 2)