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 <anhptq at oucru.org> |
| BugReports: | https://github.com/thinhong/denim/issues |
| License: | MIT + fileLICENSE |
| URL: | https://drthinhong.com/denim/,https://github.com/thinhong/denim |
| NeedsCompilation: | yes |
| Materials: | README,NEWS |
| CRAN checks: | denim results |
| Package source: | denim_1.2.2.tar.gz |
| Windows binaries: | r-devel:denim_1.2.2.zip, r-release:denim_1.2.2.zip, r-oldrel:denim_1.2.2.zip |
| macOS binaries: | r-release (arm64):denim_1.2.2.tgz, r-oldrel (arm64):denim_1.2.2.tgz, r-release (x86_64):denim_1.2.2.tgz, r-oldrel (x86_64):denim_1.2.2.tgz |
| Old sources: | denim archive |
Please use the canonical formhttps://CRAN.R-project.org/package=denimto link to this page.