aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-10-30 22:46:47 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-10-30 22:46:47 +0100
commit373cef0a0c2be5e7496f7764447417398abe02ff (patch)
treecf27b4453ae4899cdb461e12c346b9eff8a718ed
parent32499b26e6065d67e71d8b998cbfffa6dd60b274 (diff)
downloadguix-373cef0a0c2be5e7496f7764447417398abe02ff.tar
guix-373cef0a0c2be5e7496f7764447417398abe02ff.tar.gz
gnu: Add r-tweedie.
* gnu/packages/cran.scm (r-tweedie): New variable.
-rw-r--r--gnu/packages/cran.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 5361f964d4..f5ce5bc10f 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -7061,3 +7061,25 @@ exact and interval-censored observations.")
"This R package provides a suite of tools to evaluate clustering
algorithms, clusterings, and individual clusters.")
(license license:expat)))
+
+(define-public r-tweedie
+ (package
+ (name "r-tweedie")
+ (version "2.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "tweedie" version))
+ (sha256
+ (base32
+ "10fv998qjxsyx0h94fi0xbh6xbf24nwgh254n9zfnmix9vk2cqls"))))
+ (build-system r-build-system)
+ (native-inputs `(("gfortran" ,gfortran)))
+ (home-page "https://cran.r-project.org/web/packages/tweedie/")
+ (synopsis "Evaluation of Tweedie exponential family models")
+ (description
+ "Maximum likelihood computations for Tweedie families, including the
+series expansion (Dunn and Smyth, 2005; <doi10.1007/s11222-005-4070-y>) and
+the Fourier inversion (Dunn and Smyth, 2008; <doi:10.1007/s11222-007-9039-6>),
+and related methods.")
+ (license license:gpl2+)))