Skip to content

WCRBayesDesign

1.0.1Package record

Bayesian Two-Stage Design with Window-Cohort and Controlled Roll-on for Time-to-Event Estimand

0packages depend
2.1Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Calibrates Bayesian two-stage designs for single-arm phase II trials with time-to-event endpoints using a window-cohort with controlled roll-on. Interim monitoring is anchored to a locked interim cohort and a pre-specified follow-up requirement, so analysis timing remains predictable while preserving follow-up maturity. The package searches feasible interim rules, optimizes final sample size and decision thresholds, evaluates operating characteristics by Monte Carlo simulation, and supports exponential, Weibull, log-normal, log-logistic, and user-defined baseline survival models. Related published foundations include Simon (1989) doi:10.1016/0197-2456(89)90015-9 and Cotterill and Whitehead (2015) doi:10.1002/sim.6426.

Install

Health

CRAN checks
13OK
Slowest check: 55 s · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-09-08
  • ERROR12 OK, 1 ERROR2026-09-07
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK5 OK2026-04-11
Advisories

none known

Documentation

In release 1.0.1
READMEYes · 196 wordsVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
9
Examples that run
56%5 run in a plain check · 4 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
100%
Documented parameters
84%
Return-value docs
100%
Help pages citing references
0%

Downloads

2.1K
CRAN downloads in the past year
Rank #16,103 · ~6/day · ~179/mo
Daily download trend is not available in this view yet.
26930 days
77890 days
2.1K1 year
Compare downloads with other packages →
Also on39 r2u1 autocran

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)

Installing WCRBayesDesign adds 3 packages (0 with compiled code, 541 KB of source tarballs). Heaviest: iterators 293 KB, doParallel 160 KB, foreach 88 KB.

Depends (1)
R >= 4.4.0
Imports (4)
foreachdoParallelstatsparallel
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 1.0.1 (2026)
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.1Latest
    2026-04-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-04-10
Total releases
1 / 1 yrs
License
GPL-3 OSI
Minimum R
≥ 4.4.0
Download size
26 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("WCRBayesDesign")
Cai, Z., & Pan, H. (2026). WCRBayesDesign: Bayesian Two-Stage Design with Window-Cohort and Controlled Roll-on for Time-to-Event Estimand (Version 1.0.1) [Computer software]. https://doi.org/10.32614/CRAN.package.WCRBayesDesign

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for WCRBayesDesign version 1.0.1 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy