Helper function to determine the dlts including first separate and placebo condition
h_determine_dlts(
data,
dose,
prob,
prob_placebo,
cohort_size,
cohort_size_placebo,
dose_grid,
first_separate
)updated data object
(Data)
what data to start from.
(number)
current dose.
(function)
defines the true probability for a DLT at a dose.
(function)
defines the true probability for a DLT at a placebo condition.
(number)
the cohort size to use.
(number)
the cohort size to use for placebo condition.
(numeric)
the dose_grid as specified by the user.
(flag)
whether the first patient is enrolled separately.