denim: Generate and Simulate Deterministic Compartmental Models (original) (raw)
R package to build and simulate deterministic compartmental models that can be non-Markovian. Length of stay in each compartment can be defined to follow a parametric distribution (d_exponential(), d_gamma(), d_weibull(), d_lognormal()) or a non-parametric distribution (nonparametric()). Other supported types of transition from one compartment to another includes fixed transition (constant()), multinomial (multinomial()), fixed transition probability (transprob()).
| Version: | 1.2.2 |
|---|---|
| Depends: | R (≥ 4.1.0) |
| Imports: | Rcpp (≥ 1.0.6), colorspace, rlang, glue |
| LinkingTo: | Rcpp, testthat |
| Suggests: | covr, knitr, rmarkdown, testthat (≥ 3.0.0), waldo, xml2, deSolve, tidyverse, DiagrammeR |
| Published: | 2025-08-21 |
| DOI: | 10.32614/CRAN.package.denim |
| Author: | Thinh Ong |
| Maintainer: | Anh Phan |
| BugReports: | https://github.com/thinhong/denim/issues |
| License: | MIT + file |
| URL: | https://drthinhong.com/denim/, https://github.com/thinhong/denim |
| NeedsCompilation: | yes |
| Materials: | README, NEWS |
| CRAN checks: | denim results |
Documentation:
Downloads:
Linking:
Please use the canonical formhttps://CRAN.R-project.org/package=denimto link to this page.