
Print the Operating Characteristics of Several Designs
Source:R/print.oc_results.R
print.oc_results.RdPrint the table built by oc_results: for every scenario,
the chosen per-dose quantities with one row per design and one column
per dose (for a combination, one matrix per design with rows for drug A
and columns for drug B), followed by the quantities of the whole trial
with one row per design.
Examples
boin <- sim_boin(target = 0.30, p_true = c(0.10, 0.25, 0.40, 0.55),
n_cohort = 10, cohort_size = 3, n_trials = 200, seed = 1)
print(oc_results(BOIN = boin, "3+3" = oc_3p3(c(0.10, 0.25, 0.40, 0.55))))
#> Operating characteristics of 2 design(s) in 1 scenario(s)
#>
#> Scenario 1
#> Selection (%) by dose
#> 1 2 3 4
#> BOIN 11.5 53.0 31.0 4.0
#> 3+3 36.3 37.5 14.8 2.0
#> Patients by dose
#> 1 2 3 4
#> BOIN 7.0 11.8 7.6 1.9
#> 3+3 3.7 3.9 2.3 0.7
#> Per trial (averages)
#> No selection (%) Patients DLTs
#> BOIN 0.5 28.4 7.9
#> 3+3 9.4 10.6 2.6