summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-08-15 15:53:13 +0200
committerRicardo Wurmus <rekado@elephly.net>2017-08-17 17:26:12 +0200
commit8d22007380df9ff2e5de44f20fde3d265ee781d1 (patch)
tree543c71bc30aae31b42150b63c05f0ef12b4b0136
parent6b4a9aec239e347de0e1cc323b1be1980102efd2 (diff)
downloadguix-8d22007380df9ff2e5de44f20fde3d265ee781d1.tar.gz
gnu: Add r-energy.
* gnu/packages/cran.scm (r-energy): New variable.
-rw-r--r--gnu/packages/cran.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 134139017f..ce2c2b5312 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -847,3 +847,32 @@ provides moment matching (MME), quantile matching (QME) and maximum
 goodness-of-fit estimation (MGE) methods (available only for non-censored
 data).  Weighted versions of MLE, MME and QME are available.")
     (license license:gpl2+)))
+
+(define-public r-energy
+  (package
+    (name "r-energy")
+    (version "1.7-0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "energy" version))
+       (sha256
+        (base32
+         "1g4hqi6mgsnd1w4q7dd2m40ljh2jdmvad91ksbq9fscnrqpvji1x"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-boot" ,r-boot)
+       ("r-rcpp" ,r-rcpp)))
+    (home-page "http://cran.r-project.org/web/packages/energy")
+    (synopsis "Multivariate inference via the energy of data")
+    (description
+     "This package provides e-statistics (energy) tests and statistics for
+multivariate and univariate inference, including distance correlation,
+one-sample, two-sample, and multi-sample tests for comparing multivariate
+distributions, are implemented.  Measuring and testing multivariate
+independence based on distance correlation, partial distance correlation,
+multivariate goodness-of-fit tests, clustering based on energy distance,
+testing for multivariate normality, distance components (disco) for
+non-parametric analysis of structured data, and other energy
+statistics/methods are implemented.")
+    (license license:gpl2+)))