gnu: Add r-actuar.

* gnu/packages/cran.scm (r-actuar): New variable.
This commit is contained in:
Ricardo Wurmus 2019-12-14 10:56:56 +01:00
parent 1830e0383b
commit 7faa05377e
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -18155,3 +18155,31 @@ (define-public r-expint
The package also gives easy access to the underlying C routines through an The package also gives easy access to the underlying C routines through an
API; see the package vignette for details.") API; see the package vignette for details.")
(license license:gpl2+))) (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+)))