Skip to contents

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

Usage

Flextable_TD(
  dose_grid,
  dlt_settings_df,
  prob_target_cut,
  digits = 3,
  dose_unit = "ug/kg"
)

Arguments

dose_grid

a numerical vector providing the dose grid.

dlt_settings_df

A data.frame containing underlying DLT rate settings for doses in dose_grid. Each column of dlt_settings_df is for one settings and each row is for one dose. The doses should be arranged in the same order as that in dose_grid.

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.

dose_unit

a string providing the unit of the dose that will be shown in the rendered table

Note

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