h_next_best_tdsamples_plot: Building the Plot for 'nextBest-NextBestTDsamples' Method.

View source: R/helpers_rules.R

h_next_best_tdsamples_plotR Documentation

Building the Plot for nextBest-NextBestTDsamples Method.

Description

[Experimental]

Helper function which creates the plot for nextBest-NextBestTDsamples() method.

Usage

h_next_best_tdsamples_plot(
  dose_target_drt_samples,
  dose_target_eot_samples,
  dose_target_drt,
  dose_target_eot,
  dose_grid_range,
  nextBest,
  doselimit,
  next_dose
)

Arguments

dose_target_drt_samples

(numeric)
vector of in-trial samples.

dose_target_eot_samples

(numeric)
vector of end-of-trial samples.

dose_target_drt

(number)
target in-trial estimate.

dose_target_eot

(number)
target end-of-trial estimate.

dose_grid_range

(numeric)
range of dose grid.

nextBest

(NextBestTDsamples)
the rule for the next best dose.

doselimit

(number)
the maximum allowed next dose.

next_dose

(number)
next best dose.


Roche/crmPack documentation built on April 30, 2024, 3:19 p.m.