From 12da2a5e58c6f518892376df5e1af4a511f12e6b Mon Sep 17 00:00:00 2001 From: pimi Date: Wed, 29 Aug 2018 09:39:17 +0200 Subject: [PATCH] gnu: Add r-abctools. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/cran.scm (r-abctools): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/cran.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 93c111bccc..aa58efce7c 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -5460,3 +5460,28 @@ parameter inference via random forests. This machine learning tool named random forests (RF) can conduct selection among the highly complex models covered by ABC algorithms.") (license license:gpl2+))) + +(define-public r-abctools + (package + (name "r-abctools") + (version "1.1.3") + (source + (origin + (method url-fetch) + (uri (cran-uri "abctools" version)) + (sha256 + (base32 "07s9dg10i8lsxl73b4n2hynca2fjgb0ykb0dz8c3zv6cgw3cyx97")))) + (build-system r-build-system) + (propagated-inputs + `(("r-abc" ,r-abc) + ("r-abind" ,r-abind) + ("r-hmisc" ,r-hmisc) + ("r-plyr" ,r-plyr))) + (home-page "https://github.com/dennisprangle/abctools/") + (synopsis "Tools for ABC analyses") + (description + "This @code{r-abctools} package provides tools for approximate Bayesian computation +including summary statistic selection and assessing coverage. This includes +recent dimension reduction algorithms to tune the choice of summary statistics, +and coverage methods to tune the choice of threshold.") + (license license:gpl2+)))