Learn R Programming

DTAT (version 0.3-7)

DE-class: An S4 class for simulating dose-titration study designs

Description

An S4 class for simulating dose-titration study designs

Arguments

Slots

doses

A numeric vector of prospectively-determined discrete doses to trial.

units

A string indicating dose units, e.g. "mg/kg".

MTDi

A 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_quantiles

A 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.

fractol

A 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.

data

A 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_esc

integer Period in which `stop rule' was triggered

ds_conf_level

numeric Confidence level for confidence band around Kaplan-Meier estimate of the dose-survival curve.

dose_drop_threshold

numeric Threshold for triggering the `bypass rule'.

stop_esc_under

numeric Threshold for triggering the `stop rule'.

undo_esc_under

numeric Threshold for triggering the `rollback rule'.