dbscan
1.2.5Density-Based Spatial Clustering of Applications with Noise (DBSCAN) and Related Algorithms
Overview
A fast reimplementation of several density-based algorithms of the DBSCAN family. Includes the clustering algorithms DBSCAN (density-based spatial clustering of applications with noise) and HDBSCAN (hierarchical DBSCAN), the ordering algorithm OPTICS (ordering points to identify the clustering structure), shared nearest neighbor clustering, and the outlier detection algorithms LOF (local outlier factor) and GLOSH (global-local outlier score from hierarchies). The implementations use the kd-tree data structure (from library ANN) for faster k-nearest neighbor search. An R interface to fast kNN and fixed-radius NN search is also provided. Hahsler, Piekenbrock and Doran (2019) doi:10.18637/jss.v091.i01.
Install
Health
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- WARNING2026-06-0812 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
- OK2026-04-2512 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-04-2211 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-1810 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 1 earlier snapshots
- NOTE2026-03-1011 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 95%
- Return-value docs
- 81%
- References docs
- 72%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Repository practices
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/mhahsler/dbscan on 2026-07-19.
Dependencies
and 35 more packages.
Code & Tests
- Cyclomatic complexity
- 1.0 median / 39 max
- Test cases
- 16 / 0.19 per code line
Test coverage
Line coverage
59%
Expression
61.0%
Tests / Examples
58.9% / 66% ex
Functions
331 28 exported
Complexity
3.6 avg / 39 max
Call network
331 nodes / 309 edges
Call graph
Open call graph →Lowest coverage
331 functions| Function | Cyclo | Coverage |
|---|---|---|
| adjacencylist exp | 1 | 0% |
| clplot exp | 1 | 0% |
| comps exp | 1 | 0% |
| glosh exp | 9 | 0% |
| hullplot exp | 17 | 0% |
| jpclust exp | 6 | 0% |
Datasets
People & History
29 releases. Pick two to compare their code metrics. R releases are shown for context.
- 1.2.5Latest
- RR 4.6.0 released · 2026-04-24
- 1.2.42025-12-19 · diff ↗
- 1.2.32025-08-20 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 1.2.22025-01-26 · diff ↗
- 1.2.12025-01-24 · diff ↗
- 1.2-02024-06-28 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 1.1-122023-11-28 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.1-112022-10-27 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.1-102022-01-15 · diff ↗
- 1.1-92022-01-11 · diff ↗
- RR 4.1.0 released · 2021-05-18
Show 25 earlier events
- 1.1-82021-04-27 · diff ↗
- 1.1-72021-04-22 · diff ↗
- 1.1-62021-02-26 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 1.1-52019-10-23 · diff ↗
- 1.1-42019-08-05 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 1.1-32018-11-13 · diff ↗
- 1.1-22018-05-19 · diff ↗
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- 1.1-12017-03-20 · diff ↗
- 1.1-02017-03-19 · diff ↗
- 1.0-02017-02-03 · diff ↗
- 0.9-82016-08-06 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 0.9-72016-04-14 · diff ↗
- 0.9-62015-12-15 · diff ↗
- 0.9-52015-10-05 · diff ↗
- 0.9-42015-09-17 · diff ↗
- 0.9-32015-09-03 · diff ↗
- 0.9-22015-08-12 · diff ↗
- 0.9-12015-07-23 · diff ↗
- 0.9-02015-07-16
- RR 3.2.0 released · 2015-04-16
Package metadata
- First published
- 2015-07-16
- Total releases
- 29 / 11 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.2.0
- Bundled data
- 107 KB / 6 files
- Download size
- 2.7 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet