nextBest-NextBestMaxGainSamples Method.Helper function which creates the plot for nextBest-NextBestMaxGainSamples() method.
h_next_best_mgsamples_plot(
prob_target_drt,
dose_target_drt,
prob_target_eot,
dose_target_eot,
dose_mg,
dose_mg_samples,
next_dose,
doselimit,
dose_grid_range
)(proportion)
target DLT probability during the trial.
(number)
target dose estimate during the trial.
(proportion)
target DLT probability at the end of the trial.
(number)
target dose estimate at the end of the trial.
(number)
the dose corresponding to the maximum gain.
(numeric)
for every sample, the dose (from the dose grid)
that gives the maximum gain value.
(number)
next best dose.
(number)
the maximum allowed next dose.
(numeric)
dose grid range.