dtpcrm
v0.1.1R/dtp.R
stop_for_excess_toxicity_empiric.Rd
Originally, the sampling in stats::rnorm()
(see inline comments in code)
consumed 53% of run-time in a 6-cohort VIOLA DTP. After this change, it
doesn't even show up! More importantly, the consumption is now dominated
by (at 75%) by the objective function 'f' in integrate().
stop_for_excess_toxicity_empiric(
x,
tox_lim,
prob_cert,
dose = 1,
suppress_dose = TRUE
)
A object of class mtd
Scalar upper threshold on estimated toxicity rate
Confidence level for threshold exceedance
Integer scalar, the dose being considered
Logical; if TRUE the MTD is set to NA
when
trial stop is recommended.
The mtd
object x, with stop decision annotated