| enrollment | Simulate enrollment times |
| goldilocks | goldilocks |
| ppwe | Cumulative distribution function of the PWE for a vectorized hazard rate parameter |
| prop_to_haz | Estimate plausible piecewise constant hazard rates from summary summary event proportions |
| pwe_impute | Impute piecewise exponential time-to-event outcomes |
| pwe_sim | Simulate piecewise exponential time-to-event outcomes |
| randomization | Randomization allocation |
| sim_trials | Simulate one or more clinical trials subject to known design parameters and treatment effect |
| summarise_sims | Summarize simulations to get operating characteristics |
| survival_adapt | Simulate a single adaptive clinical trial with a time-to-event endpoint |