Clustering by Fast Search and Find of Density Peaks
Overview
An improved implementation (based on k-nearest neighbors) of the density peak clustering algorithm, originally described by Alex Rodriguez and Alessandro Laio (Science, 2014 vol. 344). It can handle large datasets (> 100,000 samples) very efficiently. It was initially implemented by Thomas Lin Pedersen, with inputs from Sean Hughes and later improved by Xiaojie Qiu to handle large datasets with kNNs.
- Upkeep
- Move from Rcpp to cpp11
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 9 (1 internal)includes a package overview page
- Examples that run
- 100%7 run in a plain check
- Exported functions with examples
- 75%
- Documented parameters
- 97%
- Return-value docs
- 75%
- Help pages citing references
- 44%
Downloads
Repository
- PRs merged (all time)
- 56%
- Median days to close, 50 most recently updated closed issues
- 58
- Median days to close, 50 most recently updated closed PRs
- 192
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
6 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/thomasp85/densityclust on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Show all practicesHide 1 practice
Dependencies
Installing densityClust adds 22 packages (11 with compiled code, 16 MB of source tarballs). Heaviest: ggplot2 6.0 MB, Rcpp 1.8 MB, isoband 1.5 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.3.3Latest
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.3.22022-03-06 · diff ↗
- 0.3.12022-02-21 · diff ↗
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 0.3
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- 0.2.12016-02-06 · diff ↗
Show 3 earlier eventsHide 3 earlier events
- RR 3.2.0 released · 2015-04-16
- 0.1-12014-07-21
- RR 3.1.0 released · 2014-04-10
Package metadata
- First published
- 2014-07-21
- Total releases
- 6 / 12 yrs
- License
- GPL (>= 2) OSI
- Download size
- 89 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("densityClust")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.