summary refs log tree commit diff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorSahithi Yarlagadda <sahi@swecha.net>2018-03-29 16:42:18 +0530
committerRicardo Wurmus <rekado@elephly.net>2018-04-02 23:25:39 +0200
commit82c8e0ae0a81aedc65593d630b9ee4931a1e6a8d (patch)
tree7e6aadb068d20c3b9e9cfbe0cb51d6170eb9451c /gnu/packages/cran.scm
parentb3891a25f8d1cf6fb912e6383ee3e9814143122d (diff)
downloadguix-82c8e0ae0a81aedc65593d630b9ee4931a1e6a8d.tar.gz
gnu: Add r-abc.
* gnu/packages/cran.scm (r-abc): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 530c62de93..233729021d 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -3676,3 +3676,31 @@ package which implements several @dfn{Approximate Bayesian Computation} (ABC)
 algorithms for performing parameter estimation, model selection, and
 goodness-of-fit.")
     (license license:gpl3+)))
+
+(define-public r-abc
+  (package
+    (name "r-abc")
+    (version "2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "abc" version))
+       (sha256
+        (base32
+         "0ngzaaz2y2s03fhngvwipmy4kq38xrmyddaz6a6l858rxvadrlhb"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-abc-data" ,r-abc-data)
+       ("r-locfit" ,r-locfit)
+       ("r-mass" ,r-mass)
+       ("r-nnet" ,r-nnet)
+       ("r-quantreg" ,r-quantreg)))
+    (home-page "https://cran.r-project.org/web/packages/abc/")
+    (synopsis "Tools for Approximate Bayesian Computation (ABC)")
+    (description
+     "This package implements several @dfn{Approximate Bayesian
+Computation} (ABC) algorithms for performing parameter estimation, model
+selection, and goodness-of-fit.  Cross-validation tools are also available for
+measuring the accuracy of ABC estimates, and to calculate the
+misclassification probabilities of different models.")
+    (license license:gpl3+)))