An S4 class for simulating dose-titration study designs
dosesA numeric vector of prospectively-determined discrete doses to trial.
unitsA string indicating dose units, e.g. "mg/kg".
MTDiA numeric vector of optimal doses for simulated study
participants. Optionally a call to an r<distribution>(...) function which
may be parsed to calculate the mtd_quantiles slot.
mtd_quantilesA numeric vector of quantiles of the distribution from
which the MTDi slot was simulated. Intended mainly to support visualization
of this distribution, e.g. as an transparent overlay on the dose-survival
plot. NULL in case MTDi is provided verbatim.
fractolA numeric vector of probabilities for the simulated MTDi slot. Intended mainly to support visualization, e.g. plotting of 'MTD pointers' on the interactive dose-survival plot.
dataA data.frame with columns:
id Participant identifier
period DLT assessment period, numbered consecutively from 1
dose Dose level, numbered consecutively starting from 1
dlt A logical indicator: did this this participant experience
a DLT during this period?
stop_escinteger Period in which `stop rule' was triggered
ds_conf_levelnumeric Confidence level for confidence band around Kaplan-Meier estimate of the dose-survival curve.
dose_drop_thresholdnumeric Threshold for triggering the `bypass rule'.
stop_esc_undernumeric Threshold for triggering the `stop rule'.
undo_esc_undernumeric Threshold for triggering the `rollback rule'.