bmcm_stan.Rd
Use pre-compiled C code.
bmcm_stan( input_data, model = "exp", event_type = "PFS", tx_name = "IPILIMUMAB", iter = 2000, warmup = 1000, thin = 10, chains = 1, mean_cf = NA, var_cf = NA, centre_age = TRUE, ... )
input_data | Dataframe with all variables |
---|---|
model | Distribution name; exp, weibull, gompertz |
event_type | Overall survival or progression-free survival; OS, PFS |
tx_name | Treatment name; IPILIMUMAB, NIVOLUMAB, NIVOLUMAB+IPILIMUMAB |
iter | int |
warmup | Number of iterations burn-in; int |
chains | Number of chains; int |
mean_cf | Mean cure fraction; default to U0,1 |
var_cf | Variance of cure fraction |
centre_age | Logical to centre regression covariate |
... | Additional arguments |