Package: simFastBOIN 2.2.0

Gosuke Homma

simFastBOIN: Fast Simulation of Bayesian Optimal Interval Designs for Phase I and Phase I/II Trials

Design and evaluate phase I dose-finding trials that use the Bayesian optimal interval (BOIN) design of Liu and Yuan (2015) <doi:10.1111/rssc.12089>. Functions are provided to tabulate the decision boundaries, to simulate trials, to estimate the dose-toxicity curve under a monotonicity constraint and to select the maximum tolerated dose. The simulation engine is written in C++ and draws one random variate per patient in enrollment order, which reproduces the reference implementation in the 'BOIN' package trial by trial for a given seed. The traditional 3+3 design is provided as a comparator, with operating characteristics obtained in closed form rather than by simulation. For toxicity that is observed late, the time-to-event BOIN design is provided with the two estimators of Yuan and colleagues (2018) <doi:10.1158/1078-0432.CCR-18-0246> and Lin and Yuan (2020) <doi:10.1093/biostatistics/kxz007>. Patients who arrive while the dose escalation waits can be backfilled to lower doses with the designs of Zhao and colleagues (2024) <doi:10.1158/1078-0432.CCR-23-2585> and Chen and colleagues (2026) <doi:10.1007/s43441-026-00994-0>, the latter with the suspension rules of Chen and colleagues (2025) <doi:10.1158/1078-0432.CCR-24-3669>. Trials of two drugs given together are handled by the drug-combination design of Lin and Yin (2017) <doi:10.1177/0962280215594494>. The optimal biological dose, which weighs the response against the toxicity, is found with the BOIN-ET design of Takeda and colleagues (2018) <doi:10.1002/pst.1864>, with the estimators and selection rules of the 'boinet' package, its time-to-event version (Takeda and colleagues, 2020) <doi:10.1002/pst.1995> and its backfill version (Takeda and colleagues, 2025) <doi:10.1002/pst.2470>, and with the BOIN12 design of Lin and colleagues (2020) <doi:10.1200/PO.20.00257>, which weighs them by a utility, and its time-to-event version (Zhou and colleagues, 2022) <doi:10.1002/sim.9337>. For two drugs given together, the optimal dose combination is found with the Comb-BOIN12 design of Lu and colleagues (2025) <doi:10.1080/19466315.2024.2370403>, also in its time-to-event version, and the BOIN-ETC design of Kakizume and colleagues (2024) <doi:10.1177/09622802241236936>. The titration of the BOIN design can be limited to the lowest doses, as in the accelerated design of Kojima and colleagues (2024) <doi:10.1007/s43441-024-00692-9>. The operating characteristics of several designs can be tabulated and plotted side by side.

Authors:Gosuke Homma [aut, cre]

simFastBOIN_2.2.0.tar.gz
simFastBOIN_2.2.0.zip(r-4.7-x86_64)simFastBOIN_2.2.0.zip(r-4.7-arm64)simFastBOIN_2.2.0.zip(r-4.6-x86_64)simFastBOIN_2.2.0.zip(r-4.6-arm64)
simFastBOIN_2.2.0.tar.gz(r-4.7-arm64)simFastBOIN_2.2.0.tar.gz(r-4.7-x86_64)simFastBOIN_2.2.0.tar.gz(r-4.6-arm64)simFastBOIN_2.2.0.tar.gz(r-4.6-x86_64)
simFastBOIN_2.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
simFastBOIN/json (API)

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

Bug tracker:https://github.com/gosukehommaex/simfastboin/issues

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

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

On CRAN:

Conda:

cpp

4.08 score 502 downloads 67 exports 2 dependencies

Last updated from:0c9d130f99. Checks:10 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK226
linux-devel-x86_64OK247
source / vignettesOK359
linux-release-arm64OK195
linux-release-x86_64OK195
windows-devel-arm64OK352
windows-devel-x86_64OK303
windows-release-arm64OK358
windows-release-x86_64OK256
wasm-releaseOK142

Exports:be_boin_simulatebf_boin_simulateboin_boundaryboin_decision_tableboin_et_boundaryboin_et_decision_tableboin_et_select_obdboin_et_simulateboin_etc_select_obdboin_etc_simulateboin_isotonicboin_lambdaboin_p_toxboin_select_mtdboin_simulateboin_stopping_tableboin12_decision_tableboin12_select_obdboin12_simulatecomb_boin_nextcomb_boin_select_mtdcomb_boin_simulatecomb_boin12_select_obdcomb_boin12_simulatedecision_table_3p3get_boin_boundaryget_boin_decisionget_boin_stopping_boundariesget_pts_and_toxisotonic_regressionoc_3p3oc_compareoc_resultsoc_scenariosselect_mtdsim_3p3sim_be_boinsim_be_boin_multisim_bf_boinsim_bf_boin_etsim_bf_boin_et_multisim_bf_boin_multisim_boinsim_boin_etsim_boin_et_multisim_boin_etcsim_boin_etc_multisim_boin_multisim_boin12sim_boin12_multisim_comb_boinsim_comb_boin_multisim_comb_boin12sim_comb_boin12_multisim_tite_boinsim_tite_boin_etsim_tite_boin_et_multisim_tite_boin_multisim_tite_boin12sim_tite_boin12_multisim_tite_comb_boin12sim_tite_comb_boin12_multitite_boin_decision_tabletite_boin_et_simulatetite_boin_simulatetite_boin12_simulatetite_comb_boin12_simulate

Dependencies:IsoRcpp

Drug-combination trials with the BOIN design
The design | An example | Comparing scenarios | Design options | The decision table for the protocol | Running the trial | Working with the trial data | Agreement with the BOIN package | Optimal dose combinations | References

Last update: 2026-11-20
Started: 2026-10-16

Getting started with simFastBOIN
What the package does | Decision boundaries | Operating characteristics for one scenario | Comparing scenarios | Design options | Working with the trial data | Comparing with the 3+3 design | Tables and figures | Agreement with the BOIN package | References

Last update: 2026-11-20
Started: 2025-12-17

Optimal dose finding with the BOIN-ET family
Why the optimal biological dose | The boundaries and the decision table | Operating characteristics for one scenario | Selecting the OBD | Dose moves that differ from 'boinet' | TITE-BOIN-ET | BF-BOIN-ET | BOIN-ETC | How the implementation is checked | References

Last update: 2026-11-20
Started: 2026-11-20

Utility-based dose finding: BOIN12 and its extensions
A utility of the response and the toxicity | The desirability score table | Operating characteristics for one scenario | The rules of the simulations of the article | TITE-BOIN12 | Comb-BOIN12 and TITE-Comb-BOIN12 | Comparing designs | How the implementation is checked | References

Last update: 2026-11-20
Started: 2026-11-20

Backfilling with the BF-BOIN and BE-BOIN designs
Why backfill | The rules of BF-BOIN | Operating characteristics of BF-BOIN | Points the articles leave open | BE-BOIN | Agreement with the BOIN and TITE-BOIN designs | How the implementation is checked | References

Last update: 2026-10-16
Started: 2026-10-16

Late-onset toxicity with the TITE-BOIN design
Why a time-to-event design | The decision table | Operating characteristics | Agreement with the BOIN design | References

Last update: 2026-10-16
Started: 2026-10-16

Readme and manuals

Help Manual

Help pageTopics
Coerce BOIN Decision Boundaries to a Data Frameas.data.frame.boin_boundary
Simulate BE-BOIN Trialsbe_boin_simulate
Simulate BF-BOIN Trialsbf_boin_simulate
Integer Decision Boundaries for the BOIN Designboin_boundary
Decision Table for the BOIN Designboin_decision_table
Boundaries of the BOIN-ET Designboin_et_boundary
Decision Table for the BOIN-ET Designboin_et_decision_table
Select the Optimal Biological Dose of BOIN-ET Trialsboin_et_select_obd
Simulate BOIN-ET Trialsboin_et_simulate
Select the Optimal Dose Combination of BOIN-ETC Trialsboin_etc_select_obd
Simulate BOIN-ETC Trialsboin_etc_simulate
Isotonic Estimates of the DLT Probabilityboin_isotonic
Escalation and De-escalation Interval Boundariesboin_lambda
Toxic Threshold Giving a Required De-escalation Boundaryboin_p_tox
Select the MTD from Completed Trialsboin_select_mtd
Simulate BOIN Trialsboin_simulate
Safety Stopping Boundary as a Two-Row Tableboin_stopping_table
Desirability Score Table of the BOIN12 Designboin12_decision_table
Select the Optimal Biological Dose of BOIN12 Trialsboin12_select_obd
Simulate BOIN12 Trialsboin12_simulate
Next Dose Combination in a BOIN Drug-Combination Trialcomb_boin_next
Select the MTD Combination from Completed Drug-Combination Trialscomb_boin_select_mtd
Simulate BOIN Drug-Combination Trialscomb_boin_simulate
Select the OBD Combination of Comb-BOIN12 Trialscomb_boin12_select_obd
Simulate Comb-BOIN12 Trialscomb_boin12_simulate
Decision Table for the 3+3 Designdecision_table_3p3
Exact Operating Characteristics of the 3+3 Designoc_3p3
Compare Several Designs Against the True Dosesoc_compare
Operating Characteristics of Several Designs in One Tableoc_results
True Dose-Toxicity and Dose-Response Scenariosoc_scenarios
Plot a BOIN Decision Tableplot.boin_decision_table
Plot the Next Dose Combination of a BOIN Drug-Combination Trialplot.comb_boin_next
Plot a 3+3 Decision Tableplot.decision_table_3p3
Plot a Comparison of Designsplot.oc_compare
Plot the Operating Characteristics of Several Designsplot.oc_results
Plot True Scenariosplot.oc_scenarios
Plot a TITE-BOIN Decision Tableplot.tite_boin_decision_table
Print Operating Characteristics of a BOIN Design with Backfillingprint.backfill_oc
Print Operating Characteristics of a Backfill Design Across Scenariosprint.backfill_oc_multi
Print Simulated Trials of a BOIN Design with Backfillingprint.backfill_trials
Print the Operating Characteristics of the BF-BOIN-ET Designprint.bf_boin_et_oc
Print the Operating Characteristics of BF-BOIN-ET Across Scenariosprint.bf_boin_et_oc_multi
Print BOIN Decision Boundariesprint.boin_boundary
Print a BOIN Decision Tableprint.boin_decision_table
Print the Boundaries of the BOIN-ET Designprint.boin_et_boundary
Print a BOIN-ET Decision Tableprint.boin_et_decision_table
Print the Operating Characteristics of the BOIN-ET Designprint.boin_et_oc
Print the Operating Characteristics of BOIN-ET Across Scenariosprint.boin_et_oc_multi
Print Simulated BOIN-ET Trialsprint.boin_et_trials
Print the Operating Characteristics of the BOIN-ETC Designprint.boin_etc_oc
Print the Operating Characteristics of the BOIN-ETC Design Across Scenariosprint.boin_etc_oc_multi
Print Simulated BOIN-ETC Trialsprint.boin_etc_trials
Print Operating Characteristics of a BOIN Designprint.boin_oc
Print Operating Characteristics Across Scenariosprint.boin_oc_multi
Print Simulated BOIN Trialsprint.boin_trials
Print the Desirability Score Table of the BOIN12 Designprint.boin12_decision_table
Print the Operating Characteristics of the BOIN12 Designprint.boin12_oc
Print the Operating Characteristics of the BOIN12 Design Across Scenariosprint.boin12_oc_multi
Print Simulated BOIN12 Trialsprint.boin12_trials
Print the Next Dose Combination of a BOIN Drug-Combination Trialprint.comb_boin_next
Print Operating Characteristics of the BOIN Drug-Combination Designprint.comb_boin_oc
Print Operating Characteristics of the BOIN Drug-Combination Design Across Scenariosprint.comb_boin_oc_multi
Print Simulated BOIN Drug-Combination Trialsprint.comb_boin_trials
Print the Operating Characteristics of the Comb-BOIN12 Designprint.comb_boin12_oc
Print the Operating Characteristics of Comb-BOIN12 Across Scenariosprint.comb_boin12_oc_multi
Print Simulated Comb-BOIN12 Trialsprint.comb_boin12_trials
Print a 3+3 Decision Tableprint.decision_table_3p3
Print Operating Characteristics of the 3+3 Designprint.oc_3p3
Print a Comparison of Designsprint.oc_compare
Print the Operating Characteristics of Several Designsprint.oc_results
Print True Scenariosprint.oc_scenarios
Print a TITE-BOIN Decision Tableprint.tite_boin_decision_table
Print Operating Characteristics of a TITE-BOIN Designprint.tite_boin_oc
Print Operating Characteristics of a TITE-BOIN Design Across Scenariosprint.tite_boin_oc_multi
Print Simulated TITE-BOIN Trialsprint.tite_boin_trials
Simulate the 3+3 Designsim_3p3
Operating Characteristics of a BE-BOIN Designsim_be_boin
Operating Characteristics of a BE-BOIN Design Across Several Scenariossim_be_boin_multi
Operating Characteristics of a BF-BOIN Designsim_bf_boin
Operating Characteristics of the BF-BOIN-ET Designsim_bf_boin_et
Operating Characteristics of the BF-BOIN-ET Design Across Scenariossim_bf_boin_et_multi
Operating Characteristics of a BF-BOIN Design Across Several Scenariossim_bf_boin_multi
Operating Characteristics of a BOIN Designsim_boin
Operating Characteristics of the BOIN-ET Designsim_boin_et
Operating Characteristics of the BOIN-ET Design Across Scenariossim_boin_et_multi
Operating Characteristics of the BOIN-ETC Designsim_boin_etc
Operating Characteristics of the BOIN-ETC Design Across Scenariossim_boin_etc_multi
Operating Characteristics Across Several Scenariossim_boin_multi
Operating Characteristics of the BOIN12 Designsim_boin12
Operating Characteristics of the BOIN12 Design Across Scenariossim_boin12_multi
Operating Characteristics of the BOIN Drug-Combination Designsim_comb_boin
Operating Characteristics of the BOIN Drug-Combination Design Across Scenariossim_comb_boin_multi
Operating Characteristics of the Comb-BOIN12 Designsim_comb_boin12
Operating Characteristics of the Comb-BOIN12 Design Across Scenariossim_comb_boin12_multi
Operating Characteristics of a TITE-BOIN Designsim_tite_boin
Operating Characteristics of the TITE-BOIN-ET Designsim_tite_boin_et
Operating Characteristics of the TITE-BOIN-ET Design Across Scenariossim_tite_boin_et_multi
Operating Characteristics of a TITE-BOIN Design Across Several Scenariossim_tite_boin_multi
Operating Characteristics of the TITE-BOIN12 Designsim_tite_boin12
Operating Characteristics of the TITE-BOIN12 Design Across Scenariossim_tite_boin12_multi
Operating Characteristics of the TITE-Comb-BOIN12 Designsim_tite_comb_boin12
Operating Characteristics of the TITE-Comb-BOIN12 Design Across Scenariossim_tite_comb_boin12_multi
Decision Table for the TITE-BOIN Designtite_boin_decision_table
Simulate TITE-BOIN-ET Trialstite_boin_et_simulate
Simulate TITE-BOIN Trialstite_boin_simulate
Simulate TITE-BOIN12 Trialstite_boin12_simulate
Simulate Trials of the TITE-Comb-BOIN12 Designtite_comb_boin12_simulate