Don't use pre-compiled C code.

bmcm_joint_stan_file(
  input_data,
  model_os = "exp",
  model_pfs = "exp",
  tx_name = "IPILIMUMAB",
  iter = 2000,
  warmup = 1000,
  thin = 10,
  chains = 1,
  params_os = NA,
  params_pfs = NA,
  params_cf = list(mean_beta_cf = NA, var_beta_cf = NA),
  centre_age = TRUE,
  ...
)

Arguments

input_data

Dataframe with all variables

model_os

Distribution name; exp, weibull, gompertz

model_pfs

Distribution name; exp, weibull, gompertz

tx_name

Treatment name; IPILIMUMAB, NIVOLUMAB, NIVOLUMAB+IPILIMUMAB

iter

integer

warmup

Number of iterations burn-in; integer

chains

Number of chains; integer

params_os

List

params_pfs

List

params_cf

List of possible parameters values; e.g. mean_beta_cf Mean cure fraction (default U0,1) var_beta_cf Variance of cure fraction

centre_age

Logical to centre regression covariate

...

Additional arguments