From 96e223621fa4f7c9fc1ef52915e6d1fceed5612f Mon Sep 17 00:00:00 2001 From: Sandeep Subramanian Date: Mon, 26 Mar 2018 15:21:46 +0530 Subject: gnu: Add r-arules. * gnu/packages/cran.scm (r-arules): New variable. Signed-off-by: Leo Famulari --- gnu/packages/cran.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu/packages/cran.scm') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 39f2a323a6..001efc929d 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2017 Raoul Bonnal ;;; Copyright © 2018 Vijayalakshmi Vedantham ;;; Copyright © 2018 Sahithi Yarlagadda +;;; Copyright © 2018 Sandeep Subramanian ;;; ;;; This file is part of GNU Guix. ;;; @@ -3296,3 +3297,26 @@ Dependencies of the distribution of the specified variable (response variable) to other variables (explanatory variables) are derived and evaluated by the @dfn{Akaike Information Criterion} (AIC).") (license license:gpl2+))) + +(define-public r-arules + (package + (name "r-arules") + (version "1.6-0") + (source + (origin + (method url-fetch) + (uri (cran-uri "arules" version)) + (sha256 + (base32 + "14gbq5k2zkx4wc7kkfazz313ngij89qp1xmyxfg3nq3v1s84c3sl")))) + (build-system r-build-system) + (propagated-inputs + `(("r-matrix" ,r-matrix))) + (home-page "https://github.com/mhahsler/arules") + (synopsis "Mining association rules and frequent itemsets") + (description + "This package provides an infrastructure for representing, manipulating +and analyzing transaction data and patterns (frequent itemsets and association rules). +It also provides C implementations of the association mining algorithms Apriori +and Eclat.") + (license license:gpl3))) -- cgit 1.4.1