[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: Add r-delaporte.
From: |
guix-commits |
Subject: |
01/02: gnu: Add r-delaporte. |
Date: |
Thu, 17 Jun 2021 08:58:41 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 7b199d83604e2f7091649922e1a63add89f94aab
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Jun 17 14:57:26 2021 +0200
gnu: Add r-delaporte.
* gnu/packages/cran.scm (r-delaporte): New variable.
---
gnu/packages/cran.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 2e7e904..e01b241 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -29157,6 +29157,34 @@ Xiaohui Yan, Jiafeng Guo, Yanyan Lan, Xueqi Cheng
(2013)
BTM-WWW13.pdf}.")
(license license:asl2.0)))
+(define-public r-delaporte
+ (package
+ (name "r-delaporte")
+ (version "8.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "Delaporte" version))
+ (sha256
+ (base32
+ "0ijhmwclpg5czs2sl2vykcw8qj2pxy26xf6knh62rqq6p6sm43f4"))))
+ (properties `((upstream-name . "Delaporte")))
+ (build-system r-build-system)
+ (native-inputs `(("gfortran" ,gfortran)))
+ (home-page "https://github.com/aadler/Delaporte")
+ (synopsis "Statistical functions for the Delaporte distribution")
+ (description
+ "This package provides probability mass, distribution, quantile,
+random-variate generation, and method-of-moments parameter-estimation
+functions for the Delaporte distribution with parameterization based on
+Vose (2008). The Delaporte is a discrete probability distribution which can
+be considered the convolution of a negative binomial distribution with a
+Poisson distribution. Alternatively, it can be considered a counting
+distribution with both Poisson and negative binomial components. It has been
+studied in actuarial science as a frequency distribution which has more
+variability than the Poisson, but less than the negative binomial.")
+ (license license:bsd-2)))
+
(define-public r-rjsonio
(package
(name "r-rjsonio")