Run MCMC for multiple scenarios with provided data with parallel processing
run_mcmc_p.Rd
Run MCMC for multiple scenarios with provided data with parallel processing
Arguments
- dt
a list of
matrix
containing simulated time-to-events information- priorObj
an object of class
.priorClass
generated 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)