guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

36/54: gnu: Add r-actuar.


From: guix-commits
Subject: 36/54: gnu: Add r-actuar.
Date: Sat, 14 Dec 2019 07:36:41 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 7faa05377eda6b7ec5d9292da435f1534285f3dd
Author: Ricardo Wurmus <address@hidden>
Date:   Sat Dec 14 10:56:56 2019 +0100

    gnu: Add r-actuar.
    
    * gnu/packages/cran.scm (r-actuar): 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 7bb4726..1f0ebea 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -18155,3 +18155,31 @@ function @code{G(a, x)} defined for negative values of 
its first argument.
 The package also gives easy access to the underlying C routines through an
 API; see the package vignette for details.")
     (license license:gpl2+)))
+
+(define-public r-actuar
+  (package
+    (name "r-actuar")
+    (version "2.3-3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "actuar" version))
+       (sha256
+        (base32
+         "0aw3hlan5y22mdqk1wvnw9ksqhwp4yy5hi0dpv21p7s0hyxhphih"))))
+    (properties `((upstream-name . "actuar")))
+    (build-system r-build-system)
+    (propagated-inputs `(("r-expint" ,r-expint)))
+    (home-page "https://gitlab.com/vigou3/actuar";)
+    (synopsis "Actuarial functions and heavy tailed distributions")
+    (description
+     "This package provides functions and data sets for actuarial science:
+modeling of loss distributions; risk theory and ruin theory; simulation of
+compound models, discrete mixtures and compound hierarchical models;
+credibility theory.  It boasts support for many additional probability
+distributions to model insurance loss amounts and loss frequency: 19
+continuous heavy tailed distributions; the Poisson-inverse Gaussian discrete
+distribution; zero-truncated and zero-modified extensions of the standard
+discrete distributions.  It also supports phase-type distributions commonly
+used to compute ruin probabilities.")
+    (license license:gpl2+)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]