Calculate the Average Toxicity Number.
average_toxicity(dose, dose_set, true_prob, theta)
a numerical matrix of assigned doses for each step of the trial (column) and for each trial (row).
a numerical vector of allowable doses in the trial.
a numerical vector of the true probabilities associated with 'dose_set'.
a numerical value defining the proportion of expected patients to experience a medically unacceptable, dose-limiting toxicity (DLT) if administered the MTD.
Average Toxicity Number.
Cheung, Y. K. (2011). Dose finding by the continual reassessment method. CRC Press.