Package architecture

Overview

The goldilocks package implements the Goldilocks adaptive trial design described in Broglio et al. (2014). This vignette provides a visual overview of how the package functions are interconnected.

Function dependency diagram

The diagram below shows the call graph from the top-level simulation function (sim_trials()) down through the core engine (survival_adapt()) and into the internal analysis pipeline.

Exported functions are shown in blue. Internal functions are shown in grey.

Function roles

The functions fall into three layers:

Simulation layer

Post-processing functions

Data generation and analysis utilities

The first five utilities in this section are exported for direct use. The final four are internal components of the adaptive analysis pipeline.

mirror server hosted at Truenetwork, Russian Federation.