Package: goldilocks 0.5.0

Graeme L. Hickey

goldilocks: Goldilocks Adaptive Trial Designs for Time-to-Event Endpoints

Implements the Goldilocks adaptive trial design for a time to event outcome using a piecewise exponential model and conjugate Gamma prior distributions. The method closely follows the article by Broglio and colleagues <doi:10.1080/10543406.2014.888569>, which allows users to explore the operating characteristics of different trial designs.

Authors:Graeme L. Hickey [aut, cre], Ying Wan [aut], Thevaa Chandereng [aut], Becton, Dickinson and Company [cph], Tim Kacprowski [ctb]

goldilocks_0.5.0.tar.gz
goldilocks_0.5.0.tar.gz(r-4.7-arm64)goldilocks_0.5.0.tar.gz(r-4.7-x86_64)goldilocks_0.5.0.tar.gz(r-4.6-arm64)goldilocks_0.5.0.tar.gz(r-4.6-x86_64)
goldilocks_0.5.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
goldilocks/json (API)
NEWS

# Install 'goldilocks' in R:
install.packages('goldilocks', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/graemeleehickey/goldilocks/issues

Pkgdown/docs site:https://graemeleehickey.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

3.30 score 8 scripts 178 downloads 10 exports 22 dependencies

Last updated from:02e5e54fae. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK218
linux-devel-x86_64OK221
source / vignettesOK271
linux-release-arm64OK223
linux-release-x86_64OK172
wasm-releaseOK140

Exports:enrollmentppweprop_to_hazpwe_imputepwe_simrandomizationsim_comp_datasim_trialssummarise_simssurvival_adapt

Dependencies:BHclidplyrgenericsgluelatticelifecyclemagrittrMatrixpbmcapplypillarpkgconfigPWEALLR6Rcpprlangsurvivaltibbletidyselectutf8vctrswithr

Bayesian decisions with piecewise-exponential hazards

Rendered frombayes-piecewise.Rmdusingknitr::rmarkdownon Jun 10 2026.

Last update: 2026-06-10
Started: 2026-06-10

Example: Two-armed RCT

Rendered frombroglio.Rmdusingknitr::rmarkdownon Jun 10 2026.

Last update: 2026-06-10
Started: 2021-05-10

Package Architecture

Rendered fromarchitecture.Rmdusingknitr::rmarkdownon Jun 10 2026.

Last update: 2026-06-10
Started: 2026-06-10

Single-arm trials

Rendered fromsingle-arm.Rmdusingknitr::rmarkdownon Jun 10 2026.

Last update: 2026-06-10
Started: 2026-06-10