From e05c37da4aaa8c0e01cc9e1b6a5f8be45280659a Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 23 Dec 2015 17:29:51 +0100 Subject: gnu: Add matrixStats. * gnu/packages/statistics.scm (r-matrixstats): New variable. --- gnu/packages/statistics.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu') 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 @@ (define-public r-r-rsp 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))) + -- cgit v1.2.3