Simulates time-to-event (survival) datasets for clinical trial design and analysis using ordinary differential equation (ODE) models solved via the 'mrgsolve' backend. Built-in Weibull and flexible M-spline baseline hazard models are provided out of the box, and fully bespoke hazard models can be implemented as custom 'mrgsolve' ODE systems. Event times are generated by inverse transform sampling from the resulting cumulative hazard functions. 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: | 1.0.2 |
| Depends: | R (≥ 4.0.0) |
| Imports: | dplyr, magrittr, mrgsolve |
| Suggests: | testthat (≥ 3.0.0), knitr, rmarkdown |
| Published: | 2026-07-31 |
| 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 |
| Reference manual: | simtte.html , simtte.pdf |
| Vignettes: |
Advanced Simulation Scenarios (source, R code) Getting Started with simtte (source, R code) |
| Package source: | simtte_1.0.2.tar.gz |
| Windows binaries: | r-devel: simtte_1.0.1.zip, r-release: simtte_1.0.1.zip, r-oldrel: simtte_1.0.1.zip |
| macOS binaries: | r-release (arm64): simtte_1.0.1.tgz, r-oldrel (arm64): simtte_1.0.1.tgz, r-release (x86_64): simtte_1.0.1.tgz, r-oldrel (x86_64): simtte_1.0.1.tgz |
| Old sources: | simtte archive |
Please use the canonical form https://CRAN.R-project.org/package=simtte to link to this page.