From 220557a7f3e9468682dda5f4b3efe1e2e9203920 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 13 Dec 2019 18:59:33 +0100 Subject: gnu: Add r-acid. * gnu/packages/cran.scm (r-acid): New variable. --- gnu/packages/cran.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index ed705145c7..c2ea959234 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -17103,3 +17103,32 @@ conditional distribution of the response variable are modelled using explanatory variables.") ;; Either version of the license (license (list license:gpl2 license:gpl3)))) + +(define-public r-acid + (package + (name "r-acid") + (version "1.1") + (source + (origin + (method url-fetch) + (uri (cran-uri "acid" version)) + (sha256 + (base32 + "030i0y8s283ivbsmjccpbv9v7mgbcg2jk9df7vgcbbns74swf9hd")))) + (properties `((upstream-name . "acid"))) + (build-system r-build-system) + (propagated-inputs + `(("r-gamlss" ,r-gamlss) + ("r-gamlss-dist" ,r-gamlss-dist) + ("r-hmisc" ,r-hmisc))) + (home-page "https://cran.r-project.org/web/packages/acid/") + (synopsis "Analysing conditional income distributions") + (description + "This package provides functions for the analysis of income distributions +for subgroups of the population as defined by a set of variables like age, +gender, region, etc. This entails a Kolmogorov-Smirnov test for a mixture +distribution as well as functions for moments, inequality measures, entropy +measures and polarisation measures of income distributions. This package thus +aides the analysis of income inequality by offering tools for the exploratory +analysis of income distributions at the disaggregated level.") + (license license:gpl3))) -- cgit v1.2.3