simtrial: Clinical Trial Simulation

Provides some basic routines for simulating a clinical trial. The primary intent is to provide some tools to generate trial simulations for trials with time to event outcomes. Piecewise exponential failure rates and piecewise constant enrollment rates are the underlying mechanism used to simulate a broad range of scenarios such as those presented in Lin et al. (2020) <doi:10.1080/19466315.2019.1697738>. However, the basic generation of data is done using pipes to allow maximum flexibility for users to meet different needs.

Version: 0.4.2
Depends: R (≥ 4.1.0)
Imports: Rcpp, data.table (≥ 1.12.4), doFuture, foreach, future, methods, mvtnorm, stats, survival, utils, gsDesign2 (≥ 1.1.3)
LinkingTo: Rcpp
Suggests: Matrix, covr, dplyr, ggplot2, gsDesign, gt, knitr, rmarkdown, survMisc, survRM2, testthat, tidyr
Published: 2024-11-18
DOI: 10.32614/CRAN.package.simtrial
Author: Keaven Anderson [aut], Yujie Zhao [ctb, cre], John Blischak [ctb], Nan Xiao [ctb], Yilong Zhang [aut], Jianxiao Yang [ctb], Lili Ling [ctb], Xintong Li [ctb], Ruixue Wang [ctb], Yi Cui [ctb], Ping Yang [ctb], Yalin Zhu [ctb], Heng Zhou [ctb], Amin Shirazi [ctb], Cole Manschot [ctb], Merck & Co., Inc., Rahway, NJ, USA and its affiliates [cph]
Maintainer: Yujie Zhao <yujie.zhao at merck.com>
BugReports: https://github.com/Merck/simtrial/issues
License: GPL-3
URL: https://merck.github.io/simtrial/, https://github.com/Merck/simtrial
NeedsCompilation: yes
Materials: README NEWS
CRAN checks: simtrial results

Documentation:

Reference manual: simtrial.pdf
Vignettes: Approximating an arbitrary hazard function (source, R code)
Computing p-values for Fleming-Harrington weighted logrank tests and the MaxCombo test (source, R code)
Using the Magirr-Burman weights for testing (source, R code)
Simulating time-to-event trials in parallel (source, R code)
Restricted mean survival time (RMST) (source, R code)
Basic tools for time-to-event trial simulation and testing (source, R code)
TTE simulation data manipulations (source, R code)

Downloads:

Package source: simtrial_0.4.2.tar.gz
Windows binaries: r-devel: simtrial_0.4.1.zip, r-release: simtrial_0.4.2.zip, r-oldrel: simtrial_0.4.1.zip
macOS binaries: r-release (arm64): simtrial_0.4.2.tgz, r-oldrel (arm64): simtrial_0.4.2.tgz, r-release (x86_64): simtrial_0.4.2.tgz, r-oldrel (x86_64): simtrial_0.4.2.tgz
Old sources: simtrial archive

Reverse dependencies:

Reverse suggests: gsDesign2

Linking:

Please use the canonical form https://CRAN.R-project.org/package=simtrial to link to this page.