diff options
author | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2015-12-23 17:29:51 +0100 |
---|---|---|
committer | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2016-01-07 17:18:17 +0100 |
commit | e05c37da4aaa8c0e01cc9e1b6a5f8be45280659a (patch) | |
tree | 4a8537af8294dd8ace2030c922e425d969622576 /gnu/packages | |
parent | 3703ffb41f979e1e56352cec5cf905840b4e4996 (diff) | |
download | guix-e05c37da4aaa8c0e01cc9e1b6a5f8be45280659a.tar.gz |
gnu: Add matrixStats.
* gnu/packages/statistics.scm (r-matrixstats): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/statistics.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index bc1bf63154..84f64d033b 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -1863,3 +1863,27 @@ things. RSP is ideal for self-contained scientific reports and R package vignettes.") (license license:lgpl2.1+))) +(define-public r-matrixstats + (package + (name "r-matrixstats") + (version "0.15.0") + (source (origin + (method url-fetch) + (uri (cran-uri "matrixStats" version)) + (sha256 + (base32 + "1068k85s6rlwfzlszw790c2rndydvrsw7rpck6k6z17896m8drfa")))) + (properties `((upstream-name . "matrixStats"))) + (build-system r-build-system) + (native-inputs + `(("r-r-rsp" ,r-r-rsp))) ;used to build vignettes + (home-page "https://github.com/HenrikBengtsson/matrixStats") + (synopsis "Methods applying to vectors and matrix rows and columns") + (description + "This package provides methods operating on rows and columns of matrices, +e.g. @code{rowMedians()}, @code{rowRanks()}, and @code{rowSds()}. There are +also some vector-based methods, e.g. @code{binMeans()}, @code{madDiff()} and +@code{weightedMedians()}. All methods have been optimized for speed and +memory usage.") + (license license:artistic2.0))) + |