Package: DasGuptR
Type: Package
Title: Das Gupta Standardisation and Decomposition
Version: 2.1.0
Authors@R: c(person(given = "Josiah",
                      family = "King",
                      role = c("aut", "cre"),
                      email = "josiah.king@ed.ac.uk"),
               person(given = "Ben",
                      family = "Matthews",
                      role = "aut"))
Maintainer: Josiah King <josiah.king@ed.ac.uk>
Description: Implementation of Das Gupta's standardisation and decomposition of population rates, as set out "Standardization and decomposition of rates: A user’s manual", Das Gupta (1993) <https://www2.census.gov/library/publications/1993/demographics/p23-186.pdf>. The goal of these methods is to calculate adjusted rates based on compositional 'factors' and quantify the contribution of each factor to the difference in crude rates between populations. The package offers functionality to handle various scenarios for any number of factors and populations, where said factors can be comprised of vectors across sub-populations (including cross-classified population breakdowns), and with the option to specify user-defined rate functions.  
License: GPL (>= 3)
URL: https://github.com/josiahpjking/DasGuptR
BugReports: https://github.com/josiahpjking/DasGuptR/issues
Depends: R (>= 4.1.0)
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.3.2
Suggests: R.rsp
VignetteBuilder: R.rsp
NeedsCompilation: no
Packaged: 2025-04-03 18:52:45 UTC; jking34
Author: Josiah King [aut, cre],
  Ben Matthews [aut]
Repository: CRAN
Date/Publication: 2025-04-07 16:10:12 UTC
Built: R 4.6.0; ; 2026-04-26 15:52:30 UTC; unix
