Package: denim
Type: Package
Title: Generate and Simulate Deterministic Compartmental Models
Version: 1.2.3
Date: 2026-01-14
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 = c("ctb", "cph"), 
          comment="Author of the bundled JSON C++ library"),
    person("Bjoern", "Hoehrmann", ,email = "bjoern@hoehrmann.de", role = c("ctb", "cph"),
          comment="Author of UTF-8 validation code in the bundled JSON C++ library"),
    person("Florian", "Loitsch", ,role = c("ctb", "cph"),
          comment="Author of the binary to decimal floating-point conversion code in the bundled JSON C++ library"),
    person("Ingo", "Berg", ,role = c("ctb", "cph"),
          comment="Author of the bundled MuParser C++ library")
  )
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: 2026-01-14 04:12:30 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, cph] (Author of the bundled JSON C++ library),
  Bjoern Hoehrmann [ctb, cph] (Author of UTF-8 validation code in the
    bundled JSON C++ library),
  Florian Loitsch [ctb, cph] (Author of the binary to decimal
    floating-point conversion code in the bundled JSON C++ library),
  Ingo Berg [ctb, cph] (Author of the bundled MuParser C++ library)
Maintainer: Anh Phan <anhptq@oucru.org>
Repository: CRAN
Date/Publication: 2026-01-14 07:50:10 UTC
Built: R 4.4.3; x86_64-w64-mingw32; 2026-04-13 03:46:05 UTC; windows
Archs: x64
