From 8209b306a563009ada9bba5d61a84ce7b0851922 Mon Sep 17 00:00:00 2001 From: Sandeep Subramanian Date: Mon, 26 Mar 2018 15:21:46 +0530 Subject: [PATCH] gnu: Add r-arules. * gnu/packages/cran.scm (r-arules): New variable. --- gnu/packages/cran.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 39f2a32..d9a91c1 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))) -- 2.7.4