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.1
Depends: R (≥ 4.1.0)
Imports: Rcpp, data.table (≥ 1.12.4), doFuture, foreach, future, methods, mvtnorm, rlang, stats, survival, utils
LinkingTo: Rcpp
Suggests: Matrix, covr, dplyr, ggplot2, gsDesign, gsDesign2, gt, knitr, rmarkdown, survMisc, survRM2, testthat, tidyr
Published: 2024-05-03
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
Computing p-values for Fleming-Harrington weighted logrank tests and the MaxCombo test
Using the Magirr-Burman weights for testing
Simulating time-to-event trials in parallel
Restricted mean survival time (RMST)
Basic tools for time-to-event trial simulation and testing
TTE simulation data manipulations

Downloads:

Package source: simtrial_0.4.1.tar.gz
Windows binaries: r-devel: simtrial_0.4.1.zip, r-release: simtrial_0.4.1.zip, r-oldrel: simtrial_0.4.1.zip
macOS binaries: r-release (arm64): simtrial_0.4.1.tgz, r-oldrel (arm64): simtrial_0.4.1.tgz, r-release (x86_64): simtrial_0.4.1.tgz, r-oldrel (x86_64): simtrial_0.4.1.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.