Skip to contents

Both Table E and Table E2 have similar layout of Table E in Attachment 11 of Tal protocol.

Usage

Flextable_TE(indata, prob_target_cut, digits = 3)

Flextable_TE2(indata, prob_target_cut, digits = 3)

Arguments

indata,

a data.frame storing the Operation Characteristics (OC) simulation results from different DLT settings.

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

digits

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

Details

Table E2 (from Flextable_TE2())'s layout has some slight difference that it has an additional column showing the average over all the simulations the highest number of subjects enrolled in one dose level.

Note

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