summary refs log tree commit diff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-12-13 23:03:31 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-12-14 13:35:54 +0100
commit5d887a03551a24228a4cf5519bcd27a5ae6a123b (patch)
tree491956657eda0c96e969381b06ba33da2fb37271 /gnu/packages/cran.scm
parenteff3e8a471e4ca7a449f6acd338a4db0c4c95a0e (diff)
downloadguix-5d887a03551a24228a4cf5519bcd27a5ae6a123b.tar.gz
gnu: Add r-acopula.
* gnu/packages/cran.scm (r-acopula): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 207bb13bcd..6f2eb07951 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -17347,3 +17347,29 @@ behind, even on errors or user interrupts.")
 regions.  These regions were identified manually by the authors of the package
 and may be used to generate realistic data sets with known truth.")
     (license license:lgpl2.1+)))
+
+(define-public r-acopula
+  (package
+    (name "r-acopula")
+    (version "0.9.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "acopula" version))
+       (sha256
+        (base32
+         "0vvbbw8pfs9jwfz5c57lw48pr0qj661r0ys007q6zf9jmlrhx1ln"))))
+    (properties `((upstream-name . "acopula")))
+    (build-system r-build-system)
+    (home-page "https://cran.r-project.org/web/packages/acopula/")
+    (synopsis "Modelling dependence with multivariate Archimax copulas")
+    (description
+     "Archimax copulas are a mixture of Archimedean and EV copulas.  This
+package provides definitions of several parametric families of generator and
+dependence function, computes CDF and PDF, estimates parameters, tests for
+goodness of fit, generates random sample and checks copula properties for
+custom constructs.  In the 2-dimensional case explicit formulas for density
+are used, contrary to higher dimensions when all derivatives are linearly
+approximated.  Several non-archimax families (normal, FGM, Plackett) are
+provided as well.")
+    (license license:gpl2)))