Package: denim
Type: Package
Title: Generate and Simulate Deterministic Compartmental Models
Version: 1.2.2
Date: 2025-08-07
Authors@R: c(
    person("Thinh", "Ong", , "thinhop@oucru.org", role = c("aut", "cph"),
           comment = c(ORCID = "0000-0001-6772-9291")),
    person("Anh", "Phan", , "anhptq@oucru.org", role = c("aut", "cre"),
           comment = c(ORCID = "0009-0000-2129-435X")),
    person("Marc", "Choisy", , "mchoisy@oucru.org", role = "aut",
           comment = c(ORCID = "0000-0002-5187-6390")),
    person("Niels", "Lohman", ,role = "ctb"),
    person("Bjoern", "Hoehrmann", ,email = "bjoern@hoehrmann.de", role = "ctb"),
    person("Florian", "Loitsch", ,role = "ctb"),
    person("Ingo", "Berg", ,role = "ctb")
  )
Description: 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()).
License: MIT + file LICENSE
URL: https://drthinhong.com/denim/, https://github.com/thinhong/denim
BugReports: https://github.com/thinhong/denim/issues
Depends: R (>= 4.1.0)
Imports: Rcpp (>= 1.0.6), colorspace, rlang, glue
Suggests: covr, knitr, rmarkdown, testthat (>= 3.0.0), waldo, xml2,
        deSolve, tidyverse, DiagrammeR
LinkingTo: Rcpp, testthat
Encoding: UTF-8
RoxygenNote: 7.3.2
VignetteBuilder: knitr
Config/testthat/edition: 3
NeedsCompilation: yes
Packaged: 2025-08-21 04:28:49 UTC; anhptq
Author: Thinh Ong [aut, cph] (ORCID: <https://orcid.org/0000-0001-6772-9291>),
  Anh Phan [aut, cre] (ORCID: <https://orcid.org/0009-0000-2129-435X>),
  Marc Choisy [aut] (ORCID: <https://orcid.org/0000-0002-5187-6390>),
  Niels Lohman [ctb],
  Bjoern Hoehrmann [ctb],
  Florian Loitsch [ctb],
  Ingo Berg [ctb]
Maintainer: Anh Phan <anhptq@oucru.org>
Repository: CRAN
Date/Publication: 2025-08-21 08:40:18 UTC
Built: R 4.4.3; x86_64-w64-mingw32; 2026-01-12 20:25:35 UTC; windows
Archs: x64
