TwoArmSurvSim: Simulate Survival Data for Randomized Clinical Trials

A system to simulate clinical trials with time to event endpoints. Event simulation is based on Cox models allowing for covariates in addition to the treatment or group factor. Specific drop-out rates (separate from administrative censoring) can be controlled in the simulation. Other features include stratified randomization, non-proportional hazards, different accrual patterns, and event projection (timing to reach the target event) based on interim data.

Version: 0.2
Depends: R (≥ 4.0.0), blockrand, dplyr, survival, simsurv
Published: 2021-02-26
DOI: 10.32614/CRAN.package.TwoArmSurvSim
Author: Bo Zhang [cre, aut], Yi Zhong [aut, ctb], Ginny Peng [aut, ctb], Bin Yao [aut, ctb]
Maintainer: Bo Zhang <bzhang at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
CRAN checks: TwoArmSurvSim results


Reference manual: TwoArmSurvSim.pdf


Package source: TwoArmSurvSim_0.2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): TwoArmSurvSim_0.2.tgz, r-oldrel (arm64): TwoArmSurvSim_0.2.tgz, r-release (x86_64): TwoArmSurvSim_0.2.tgz, r-oldrel (x86_64): TwoArmSurvSim_0.2.tgz
Old sources: TwoArmSurvSim archive


Please use the canonical form to link to this page.