gnu: Add r-arules.

* gnu/packages/cran.scm (r-arules): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
Sandeep Subramanian 2018-03-26 15:21:46 +05:30 committed by Leo Famulari
parent 376015c35b
commit 96e223621f
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 24 additions and 0 deletions

View File

@ -5,6 +5,7 @@
;;; Copyright © 2017 Raoul Bonnal <ilpuccio.febo@gmail.com> ;;; Copyright © 2017 Raoul Bonnal <ilpuccio.febo@gmail.com>
;;; Copyright © 2018 Vijayalakshmi Vedantham <vijimay12@gmail.com> ;;; Copyright © 2018 Vijayalakshmi Vedantham <vijimay12@gmail.com>
;;; Copyright © 2018 Sahithi Yarlagadda <sahi@swecha.net> ;;; Copyright © 2018 Sahithi Yarlagadda <sahi@swecha.net>
;;; Copyright © 2018 Sandeep Subramanian <sandeepsubramanian94@gmail.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; 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 variable) to other variables (explanatory variables) are derived and
evaluated by the @dfn{Akaike Information Criterion} (AIC).") evaluated by the @dfn{Akaike Information Criterion} (AIC).")
(license license:gpl2+))) (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)))