aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-03-27 14:43:08 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-03-27 14:43:26 +0100
commit18c51cf3d3dff9d6657049356c96e56eacdc8275 (patch)
tree504440228be5f81d692c98e649c883ee139b4c0a
parent9e5f2060ad9204def8d1eb249f053f1fd0bbf212 (diff)
downloadguix-18c51cf3d3dff9d6657049356c96e56eacdc8275.tar.gz
guix-18c51cf3d3dff9d6657049356c96e56eacdc8275.zip
gnu: Add r-xyz.
* gnu/packages/cran.scm (r-xyz): New variable.
-rw-r--r--gnu/packages/cran.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 557c166d37..31f3d3f721 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -12943,3 +12943,28 @@ use, including tools to manage a temporary environment attached to the search
path for temporary variables you do not want to @code{save()} or
@code{load()}; test the current platform; showing progress bars, etc.")
(license license:gpl2)))
+
+(define-public r-xyz
+ (package
+ (name "r-xyz")
+ (version "0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "xyz" version))
+ (sha256
+ (base32
+ "13w4sb4pvgciwr8wsz785dafj2k2kpx7znz46r5d32wx88vkycp4"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-rcpp" ,r-rcpp)))
+ (home-page "https://cran.r-project.org/web/packages/xyz/")
+ (synopsis "Algorithm for fast interaction search in high-dimensional data")
+ (description
+ "High dimensional interaction search by brute force requires a quadratic
+computational cost in the number of variables. The xyz algorithm provably
+finds strong interactions in almost linear time. For details of the algorithm
+see: G. Thanei, N. Meinshausen and R. Shah (2016). The xyz algorithm for fast
+interaction search in high-dimensional data.")
+ ;; Any version of the GPL.
+ (license license:gpl2+)))