## [1] "NextBestMaxGainSamples"
The dose recommended for the next cohort will be the one which is closest to Gstar, the dose for which the full Bayes posterior estimate of the probability of toxicity maximises the gain relative to the target toxicity rate, either during [0.35] or at the end of the trial [0.3].