From 2d21d44dbdf871e95bb416026d9075da93e460ec Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 21 Sep 2016 22:45:22 +0200 Subject: gnu: Add r-hmisc. * gnu/packages/statistics.scm (r-hmisc): New variable. --- gnu/packages/statistics.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 806aacb73b..4a8c64bde8 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -41,6 +41,7 @@ #:use-module (gnu packages icu4c) #:use-module (gnu packages image) #:use-module (gnu packages java) + #:use-module (gnu packages machine-learning) #:use-module (gnu packages maths) #:use-module (gnu packages multiprecision) #:use-module (gnu packages pcre) @@ -2977,6 +2978,44 @@ distribution).") classification, regression and survival trees.") (license (list license:gpl2+ license:gpl3+)))) +(define-public r-hmisc + (package + (name "r-hmisc") + (version "3.17-4") + (source + (origin + (method url-fetch) + (uri (cran-uri "Hmisc" version)) + (sha256 + (base32 + "1hr2kycpm0h3li9gnlbx9pl6h13das7g2wqfk6cip1kx6lv00ypw")))) + (properties `((upstream-name . "Hmisc"))) + (build-system r-build-system) + (native-inputs + `(("gfortran" ,gfortran))) + (propagated-inputs + `(("r-acepack" ,r-acepack) + ("r-cluster" ,r-cluster) + ("r-data-table" ,r-data-table) + ("r-foreign" ,r-foreign) + ("r-formula" ,r-formula) + ("r-ggplot2" ,r-ggplot2) + ("r-gridextra" ,r-gridextra) + ("r-gtable" ,r-gtable) + ("r-lattice" ,r-lattice) + ("r-latticeextra" ,r-latticeextra) + ("r-nnet" ,r-nnet) + ("r-rpart" ,r-rpart))) + (home-page "http://biostat.mc.vanderbilt.edu/Hmisc") + (synopsis "Miscellaneous data analysis and graphics functions") + (description + "This package contains many functions useful for data analysis, +high-level graphics, utility operations, functions for computing sample size +and power, importing and annotating datasets, imputing missing values, +advanced table making, variable clustering, character string manipulation, +conversion of R objects to LaTeX code, and recoding variables.") + (license license:gpl2+))) + (define-public r-runit (package (name "r-runit") -- cgit v1.2.3