Main function implemented in C++ for the MCMC loop
run_mcmc(
nIter,
burnin,
thin,
n,
nsamp,
ninit,
convex,
npoint,
dirichlet,
proportion_model,
BVS,
threads,
gamma_prior,
gamma_sampler,
eta_prior,
eta_sampler,
initList,
rangeList,
hyperparList,
datEvent,
datTime,
datX,
datX0,
datProportionConst
)number of MCMC iterations
length of MCMC burn-in period
number of thinning
number of samples to draw
how many samples to draw for generating each sample; only the last draw will be kept
number of initials as meshgrid values for envelop search
adjustment for convexity (non-negative value, default 1.0)
maximum number of envelope points
not yet implemented
logical value for modeling the proportions data
logical value for implementing Bayesian variable selection
maximum threads used for parallelization. Default is 1
one of c("bernoulli", "MRF")
one of c("mc3", "bandit")
one of c("bernoulli", "MRF")
one of c("mc3", "bandit")
a list of initial values for parameters "kappa", "xi", "betas", and "zetas"
a list of ranges of initial values for parameters "kappa", "xi", "betas", and "zetas"
a list of relevant hyperparameters
a vector of survival status
a vector of survival times
an array of cluster-specific covariates
a matrix of mandatory variables
an array of cluster-specific proportions