From 9fd2d4fdb17ad70b8e94a388546eab59642faecd Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 14 Dec 2019 13:32:19 +0100 Subject: gnu: Add r-depth. * gnu/packages/cran.scm (r-depth): New variable. --- gnu/packages/cran.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 8482f274b6..7688e90f23 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -18510,3 +18510,32 @@ validation of bicluster solutions.") data as well as to identify atypical units. The underlying methods are based on distances rather than on unit x variables.") (license license:gpl2+))) + +(define-public r-depth + (package + (name "r-depth") + (version "2.1-1.1") + (source + (origin + (method url-fetch) + (uri (cran-uri "depth" version)) + (sha256 + (base32 + "0szy0027nh4ps1z919i740i50app5q7cfyg1fj7pdyl45nbl8k6m")))) + (properties `((upstream-name . "depth"))) + (build-system r-build-system) + (propagated-inputs + `(("r-abind" ,r-abind) + ("r-circular" ,r-circular) + ("r-rgl" ,r-rgl))) + (native-inputs + `(("gfortran" ,gfortran))) + (home-page "https://cran.r-project.org/web/packages/depth/") + (synopsis "Nonparametric depth functions for multivariate analysis") + (description + "This package provides tools for depth functions methodology applied to +multivariate analysis. Besides allowing calculation of depth values and +depth-based location estimators, the package includes functions or drawing +contour plots and perspective plots of depth functions. Euclidian and +spherical depths are supported.") + (license license:gpl2))) -- cgit v1.2.3