| conduct | Computes the hazard ratio between post- and pre-separation periods, provides the 95% Bayesian credible interval, and makes a Go/No-Go decision based on the trial data. This function is intended for interim and final analyses in two-arm survival trials with delayed treatment effects. | 
| event_fun | Return expected event number at interim analysis and final analysis. | 
| Experimental | Nivolumab KM data used for reconstructing PFS KM curve | 
| generate_pe | Generate event times from a piecewise exponential distribution. | 
| get.optimal_2arm_piecewise | Obtain Optimal Design Parameters for DTE-BOP2 Design | 
| getoc_2arm_piecewise | Compute Operating Characteristics for Two-Arm Piecewise Exponential Designs | 
| rtrunc_gamma | Generate Random Variables from a Truncated Gamma Distribution. | 
| SOC | Docetaxel KM data used for reconstructing PFS KM curve | 
| trunc_gamma_para | Estimate Shape and Scale Parameters for Truncated Gamma Distribution | 
| TTOT_fun | Compute the Total Time-on-Test (TTOT) Statistic | 
| Two_stage_sample_size | Calculate Sample Sizes for a Two-Stage Trial Design. |