simtte: Simulate Time-to-Event Data from PK/PD and Bespoke ODE Models

Simulates time-to-event (survival) datasets for clinical trial design and analysis, including datasets driven by a joint pharmacokinetic/pharmacodynamic (PK/PD) model solved via the 'mrgsolve' backend. Event times can be located directly during ODE integration ('in-solver' event detection) using a library of built-in PK/PD hazard models or a user-supplied 'mrgsolve' model converted for this purpose, or generated by inverse transform sampling from a closed-form Weibull or flexible M-spline baseline hazard, or from any externally simulated survival trajectory. See Bender et al. (2005) <doi:10.1002/sim.2059> for the inverse transform sampling methodology and Royston and Parmar (2002) <doi:10.1002/sim.1203> for flexible parametric survival models.

Version: 2.0.0
Depends: R (≥ 4.0.0)
Imports: dplyr, magrittr, methods, mrgsolve, tools
Suggests: callr, testthat (≥ 3.0.0), knitr, pkgload, rmarkdown, splines2, survival
Published: 2026-11-07
DOI: 10.32614/CRAN.package.simtte
Author: Carlos Traynor [aut, cre]
Maintainer: Carlos Traynor <carlos.traynor.qcp at gmail.com>
BugReports: https://github.com/csetraynor/simtte/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://github.com/csetraynor/simtte
NeedsCompilation: no
Language: en-US
Materials: NEWS
CRAN checks: simtte results

Documentation:

Reference manual: simtte.html , simtte.pdf
Vignettes: Advanced Simulation Scenarios (source, R code)
Bring Your Own PK/PD Model (source, R code)
Censoring and Realistic Assessment Schedules (source, R code)
Getting Started with simtte (source, R code)
Joint PK/PD and Time-to-Event Simulation (source, R code)

Downloads:

Package source: simtte_2.0.0.tar.gz
Windows binaries: r-devel: simtte_1.0.2.zip, r-release: simtte_1.0.2.zip, r-oldrel: simtte_1.0.2.zip
macOS binaries: r-release (arm64): simtte_1.0.2.tgz, r-oldrel (arm64): simtte_1.0.2.tgz, r-release (x86_64): simtte_1.0.2.tgz, r-oldrel (x86_64): simtte_1.0.2.tgz
Old sources: simtte archive

Linking:

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