summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-12-14 13:32:19 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-12-14 13:35:58 +0100
commit9fd2d4fdb17ad70b8e94a388546eab59642faecd (patch)
treed659966c20ac7632abd184ad1cab10b855b8c91c
parent9cd3ae8620ed27fb54da1face9ec1a4265746602 (diff)
downloadguix-patches-9fd2d4fdb17ad70b8e94a388546eab59642faecd.tar
guix-patches-9fd2d4fdb17ad70b8e94a388546eab59642faecd.tar.gz
gnu: Add r-depth.
* gnu/packages/cran.scm (r-depth): New variable.
-rw-r--r--gnu/packages/cran.scm29
1 files changed, 29 insertions, 0 deletions
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)))