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.1
Depends: R (≥ 4.0.0), blockrand, dplyr, survival
Published: 2020-12-16
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.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel: not available
macOS binaries: r-release: TwoArmSurvSim_0.1.tgz, r-oldrel: not available


Please use the canonical form to link to this page.