gnu: Add r-depth.

* gnu/packages/cran.scm (r-depth): New variable.
This commit is contained in:
Ricardo Wurmus 2019-12-14 13:32:19 +01:00
parent 9cd3ae8620
commit 9fd2d4fdb1
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -18510,3 +18510,32 @@ (define-public r-icge
data as well as to identify atypical units. The underlying methods are based data as well as to identify atypical units. The underlying methods are based
on distances rather than on unit x variables.") on distances rather than on unit x variables.")
(license license:gpl2+))) (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)))