# Adaptive Trial Designs for Survival and Binary Endpoints

## Documentation for package ‘goldilocks’ version 0.6.0

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

enrollment | Simulate exact continuous-time enrollment
goldilocks | goldilocks
plot_enrollment | Plot an enrollment projection
plot_sim_decisions | Plot predictive-probability decision maps
plot_sim_ocs | Plot operating characteristics across simulation scenarios
plot_sim_stopping | Plot stopping outcomes from trial simulations
plot_trial_trace | Plot predictive probabilities and enrollment at interim looks
ppwe | Cumulative distribution function of the PWE for a vectorized hazard rate parameter
print.goldilocks_trial | Print an adaptive trial trace result
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_comp_data | Simulate a complete clinical trial with event data drawn from a piecewise exponential distribution
sim_trials | Simulate one or more clinical trials subject to known design parameters and treatment effect
summarise_sims | Summarize simulations to get operating characteristics
summarise_trial_trace | Summarize an interim decision path
survival_adapt | Simulate and analyze one Goldilocks adaptive trial