Computes the expected numbers of events, the mean, variance and covariance of the log-rank statistic over calendar time, and the power, type I error, required number of events, sample size, accrual duration and follow-up of two-group time-to-event trials, without patient-level simulation. Each group follows a multistate model (progression-free, progressed, switched, dead, and progression-free after a switch before progression) with piecewise constant intensities, which covers progression-free survival, overall survival and treatment switching before, at or after progression, with an effect of the switch on the death hazard or an accelerated failure time effect, together with piecewise uniform accrual, piecewise exponential dropout, a censoring of progression-free survival only, switching that starts at a calendar time and group sequential designs with efficacy bounds and binding or non-binding futility bounds. Progression-free and overall survival can be tested together with a group sequential fixed-sequence or Bonferroni procedure, the latter with recycling of the level after a rejection as in Maurer and Bretz (2013) <doi:10.1080/19466315.2013.807748>, using the joint distribution of the two log-rank statistics over calendar time. For designs with one endpoint, the expected study duration, numbers of events and enrolled patients when the trial stops at its bounds, the conditional power at an interim analysis, and plots of the bounds, the probabilities of stopping and the survival functions are also given. The variance and covariance of the log-rank score under the alternative follow Luo et al. (2019) <doi:10.1002/sim.7975>.
| Version: | 0.4.0 |
| Depends: | R (≥ 4.1.0) |
| Imports: | graphics, grDevices, mvtnorm (≥ 1.2-0), stats |
| Suggests: | gsDesign, gsDesign2, knitr, lrstat, rmarkdown, rpact, testthat (≥ 3.0.0) |
| Published: | 2026-11-23 |
| DOI: | 10.32614/CRAN.package.DesignComplexSurvival (may not be active yet) |
| Author: | Gosuke Homma |
| Maintainer: | Gosuke Homma <my.name.is.gosuke at gmail.com> |
| BugReports: | https://github.com/gosukehommaEX/DesignComplexSurvival/issues |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| URL: | https://gosukehommaEX.github.io/DesignComplexSurvival/, https://github.com/gosukehommaEX/DesignComplexSurvival |
| NeedsCompilation: | no |
| Language: | en-US |
| Materials: | README, NEWS |
| CRAN checks: | DesignComplexSurvival results |
| Package source: | DesignComplexSurvival_0.4.0.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): DesignComplexSurvival_0.4.0.tgz, r-release (x86_64): not available, r-oldrel (x86_64): DesignComplexSurvival_0.4.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=DesignComplexSurvival to link to this page.