Performs static checks on the model inputs without running the simulation. Catches common configuration errors early.
validate_model(
arm_list = c("int", "noint"),
init_event_list = NULL,
evt_react_list = NULL,
util_ongoing_list = NULL,
util_instant_list = NULL,
util_cycle_list = NULL,
cost_ongoing_list = NULL,
cost_instant_list = NULL,
cost_cycle_list = NULL,
other_ongoing_list = NULL,
other_instant_list = NULL,
npats = 500,
n_sim = 1,
psa_bool = NULL,
seed = NULL
)Invisibly TRUE if all checks pass. Prints a summary of checks.
Character vector of intervention names.
List of initial events and event times (output of
add_tte()).
List of event reactions (output of add_reactevt()).
Character vector of ongoing QALY variable names.
Character vector of instant QALY variable names.
Character vector of cycle QALY variable names.
Character vector of ongoing cost variable names.
Character vector of instant cost variable names.
Character vector of cycle cost variable names.
Character vector of other ongoing variable names.
Character vector of other instant variable names.
Integer. Number of patients per simulation.
Integer. Number of simulations.
Logical. Whether PSA mode is intended.
Numeric. Random seed.