- data
data.frame containing atleast three vectors of "tte" (time-to-event)
and "event" (event indicator), and covariates "X_i" (where i should be a number/
indicator of the covariate)
- data_hist
NULL (not used)
- borrow
FALSE (default), will run the model with borrowing
- model_choice
'no_borrow' (default), for no borrowing
- tuning_parameters
list of "cprop_beta", "Jmax", and "pi_b". Default is
("Jmax" = 5, "cprop_beta" = 0.5, "pi_b" = 0.5)
- hyperparameters
list containing the hyperparameters c("a_sigma", "b_sigma",
"phi", clam_smooth"). Default is list("a_sigma" = 2, "b_sigma" = 2, "phi" = 3 ,
"clam_smooth" = 0.8)
- lambda_hyperparameters
contains two hyperparameters ("a_lambda" and "b_lambda")
used for the update of lambda, default is c(0.01, 0.01)
- iter
number of iterations for MCMC sampler. Default is 2000
- warmup_iter
number of warmup iterations (burn-in) for MCMC sampler.
Default is 2000
- refresh
number of iterations between printed console updates. Default
is 0
- verbose
FALSE (default), choice of output, if TRUE will output
intermittent results into console
- max_grid
grid size for the smoothed baseline hazard. Default is 2000