Helper function to determine the dlts including first separate and placebo condition
h_determine_dlts(
data,
dose,
prob,
prob_placebo = 0,
prob_response = 0,
prob_response_placebo = 0,
cohort_size,
cohort_size_placebo = 0,
dose_grid,
first_separate
)updated data object
(Data)
what data to start from.
(number)
current dose.
(number)
defines the true probability for a DLT at the dose.
(number)
defines the true probability for a DLT at a placebo condition.
(number)
defines the true probability for a response at the dose.
(number)
defines the true probability for a response 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.