The goal of 'gsDesign2' is to enable fixed or group sequential design under non-proportional hazards. To enable highly flexible enrollment, time-to-event and time-to-dropout assumptions, 'gsDesign2' offers piecewise constant enrollment, failure rates, and dropout rates for a stratified population. This package includes three methods for designs: average hazard ratio, weighted logrank tests in Yung and Liu (2019) <doi:10.1111/biom.13196>, and MaxCombo tests. Substantial flexibility on top of what is in the 'gsDesign' package is intended for selecting boundaries.
| Version: | 1.1.6 | 
| Depends: | R (≥ 4.1.0) | 
| Imports: | corpcor, data.table, dplyr, gsDesign, gt, methods, mvtnorm, npsurvSS (≥ 1.1.0), r2rtf, stats, survival, tibble, tidyr, utils, Rcpp | 
| LinkingTo: | Rcpp | 
| Suggests: | covr, ggplot2, kableExtra, knitr, rmarkdown, simtrial, testthat (≥ 3.0.0) | 
| Published: | 2025-09-11 | 
| DOI: | 10.32614/CRAN.package.gsDesign2 | 
| Author: | Keaven Anderson [aut],
  Yujie Zhao [aut, cre],
  Yilong Zhang [aut],
  John Blischak [aut],
  Yihui Xie [aut],
  Nan Xiao [aut],
  Jianxiao Yang [aut],
  Amin Shirazi [ctb],
  Ruixue Wang [ctb],
  Yi Cui [ctb],
  Ping Yang [ctb],
  Xin Tong Li [ctb],
  Chenxiang Li [ctb],
  Hiroaki Fukuda [ctb],
  Hongtao Zhang [ctb],
  Yalin Zhu [ctb],
  Shiyu Zhang [ctb],
  Dickson Wanjau [ctb],
  Merck & Co., Inc., Rahway, NJ, USA and its affiliates | 
| Maintainer: | Yujie Zhao <yujie.zhao at merck.com> | 
| BugReports: | https://github.com/Merck/gsDesign2/issues | 
| License: | GPL-3 | 
| URL: | https://merck.github.io/gsDesign2/, https://github.com/Merck/gsDesign2 | 
| NeedsCompilation: | yes | 
| Materials: | README, NEWS | 
| CRAN checks: | gsDesign2 results | 
| Reference manual: | gsDesign2.html , gsDesign2.pdf | 
| Vignettes: | Quick start for NPH sample size and power (source, R code) | 
| Package source: | gsDesign2_1.1.6.tar.gz | 
| Windows binaries: | r-devel: gsDesign2_1.1.6.zip, r-release: gsDesign2_1.1.6.zip, r-oldrel: gsDesign2_1.1.6.zip | 
| macOS binaries: | r-release (arm64): gsDesign2_1.1.6.tgz, r-oldrel (arm64): gsDesign2_1.1.6.tgz, r-release (x86_64): gsDesign2_1.1.6.tgz, r-oldrel (x86_64): gsDesign2_1.1.6.tgz | 
| Old sources: | gsDesign2 archive | 
| Reverse suggests: | simtrial | 
Please use the canonical form https://CRAN.R-project.org/package=gsDesign2 to link to this page.