simtrial
1.0.2Clinical Trial Simulation
Overview
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.
Install
Health
- OK2026-08-0413 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-08-0112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-04-2214 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 2 earlier snapshots
- ERROR2026-04-1813 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 97%
- Documented parameters
- 80%
- Return-value docs
- 100%
- References docs
- 28%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Repository practices
5 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/merck/simtrial on 2026-08-09.
Show all practices
Dependencies
Code & Tests
Datasets
People & History
Show 4 more contributors
6 releases. Pick two to compare their code metrics. R releases are shown for context.
Package metadata
- First published
- 2023-12-11
- Total releases
- 6 / 3 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 14 KB / 7 files
- Download size
- 1.0 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("simtrial")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-15, which the citation names so these numbers can be found later. More on citing and the projects behind them.