powered by
Run MCMC for multiple scenarios with provided data with parallel processing
run_mcmc_p( dt, priorObj, n.chains, n.adapt, n.burn, n.iter, seed, path, n.cores = 2 )
a data.frame containing summary statistics of the posterior distribution for each simulation
data.frame
a list of matrix containing simulated time-to-events information
matrix
an object of class .priorClass generated in set_prior
.priorClass
set_prior
number of parallel chains for the model
number of iterations for adaptation
number of iterations discarded as burn-in
number of iterations to monitor
the seed of random number generator. Default is the first element of .Random.seed
file name for saving the output including folder path
number of processes to parallelize over (default = 2)
# similar to run_mcmc
Run the code above in your browser using DataLab