This function executes backfill enrollment according to the priority rule, updating the data object, backfill cohort queue, and patient counter.
h_enroll_backfill_patients(
backfill_cohorts,
data,
backfill,
cohort_size,
backfill_patients,
current_args,
truth,
truthResponse
)List with updated data, backfill_cohorts, and
backfill_patients.
(list)
current queue of backfill cohorts.
(Data)
current trial data.
(Backfill)
with priority and recruitment rules.
(count)
size of the active cohort.
(count)
number of enrolled backfill patients.
(data.frame)
arguments for the truth function.
(function)
defining true DLT probability.
(function)
defining true response probability.