gnu: Add r-dbscan.

* gnu/packages/cran.scm (r-dbscan): New variable.
This commit is contained in:
Ricardo Wurmus 2022-04-26 09:42:13 +02:00
parent 2902adfc7e
commit 190830bd80
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -252,6 +252,35 @@ (define-public r-datawizard
wrangling backend for the packages in the @code{easystats} ecosystem.")
(license license:gpl3)))
(define-public r-dbscan
(package
(name "r-dbscan")
(version "1.1-10")
(source
(origin
(method url-fetch)
(uri (cran-uri "dbscan" version))
(sha256
(base32 "1h8x1v9kk5zmw5qd575cyr16yz8l226lsaq71n079l4i8crcrzg1"))))
(properties `((upstream-name . "dbscan")))
(build-system r-build-system)
(propagated-inputs (list r-rcpp))
(native-inputs (list r-knitr))
(home-page "https://github.com/mhahsler/dbscan")
(synopsis "Density-based spatial clustering of applications with noise")
(description
"This package provides a fast reimplementation of several density-based
algorithms of the DBSCAN family. It includes the clustering algorithms DBSCAN
(density-based spatial clustering of applications with noise) and
@dfn{hierarchical DBSCAN} (HDBSCAN), the ordering algorithm @dfn{ordering
points to identify the clustering structure} (OPTICS), shared nearest neighbor
clustering, and the outlier detection algorithms @dfn{local outlier
factor} (LOF) and @dfn{global-local outlier score from hierarchies} (GLOSH).
The implementations use the kd-tree data structure for faster k-nearest
neighbor search. An R interface to fast kNN and fixed-radius NN search is
also provided.")
(license license:gpl2+)))
(define-public r-diffobj
(package
(name "r-diffobj")