Skip to contents

Table B has similar layout of Table B in Attachment 11 of Tal protocol.

Usage

Flextable_TB(indata, prob_target_cut, digits = 3, ewoc = 0.25)

Arguments

indata

input data, results from Summary_crmPack_Samples() upon possibly multiple doses

prob_target_cut

a length-2 numerical vector, indicating the probability cut for DLT rate:

  • [0, prob_cut[1]) is underdose interval;

  • [prob_cut[1], prob_cut[2]) is target dose interval;

  • [prob_cut[2], 1] is overdose interval.

This variable is mainly for showing this info in the table columns. The actual probability of MCMC samples falling into these intervals are provided in indata.

digits

a non-negative integer, the digits shown in the table.

ewoc

a numerical scalar. The Escalation With Overdose Control (EWOC) probability target. Defaults to 0.25, meaning the probability of DLT rate falling in overdose interval equal or above 0.25 violates EWOC rule and is unacceptable.

Note

This function is mainly for rendering the Rmd report provided in this package