aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-12-13 23:10:09 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-12-14 13:35:54 +0100
commit6c2dcba99df361cdbb3f1b1beeff5b3cf34330b9 (patch)
tree45e136c335e5731628981779b8a0fdee05edae3f /gnu
parent6afc037e74a2bc92adde2ffecb2c3722f9113b6b (diff)
downloadguix-6c2dcba99df361cdbb3f1b1beeff5b3cf34330b9.tar
guix-6c2dcba99df361cdbb3f1b1beeff5b3cf34330b9.tar.gz
gnu: Add r-dummies.
* gnu/packages/cran.scm (r-dummies): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 1b03627a8a..3a332a428e 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -17545,3 +17545,23 @@ floating point chromosomes.")
"Kernel factory is an ensemble method where each base classifier (random
forest) is fit on the kernel matrix of a subset of the training data.")
(license license:gpl2+)))
+
+(define-public r-dummies
+ (package
+ (name "r-dummies")
+ (version "1.5.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "dummies" version))
+ (sha256
+ (base32
+ "01f84crqx17xd6xy55qxlvsj3knm8lhw7jl26p2rh2w3y0nvqlbm"))))
+ (properties `((upstream-name . "dummies")))
+ (build-system r-build-system)
+ (home-page "http://www.decisionpatterns.com")
+ (synopsis "Create dummy/indicator variables flexibly and efficiently")
+ (description
+ "This package lets you expand factors, characters and other eligible
+classes into dummy/indicator variables.")
+ (license license:gpl2+)))