Spatio-Temporal DBSCAN Clustering

Implements the ST-DBSCAN (spatio-temporal density-based spatial clustering of applications with noise) clustering algorithm for detecting spatially and temporally dense regions in point data, with a fast C++ backend via 'Rcpp'. Birant and Kut (2007) .


stdbscan

Lifecycle:experimental Codecov test coverage CRAN status downloads R-CMD-check

Overview

stdbscan implements the ST-DBSCAN (Spatio-Temporal DBSCAN) algorithm developed by Birant & Kut (2007). It extends DBSCAN by adding a temporal parameter that allows spatio-temporal clustering.

For performance and compatibility, this package heavily relies on dbscan. All CPU-consuming functions are written in C++ via Rcpp.

Installation

You can install the released version of stdbscan from CRAN with:

install.packages("stdbscan")

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("MiboraMinima/stdbscan")

Usage

An example of the application of stdbscan is available in the vignette on stop identification.

Breaking changes

  • In version 0.2.0, st_dbscan() uses a matrix as input instead of raw x, y and t variables.

Problems and Issues

System Requirements

stdbscan requires R v >= 3.5.0.

Alternatives

R :

python :

References

Birant, D., & Kut, A. (2007). ST-DBSCAN: An algorithm for clustering spatial–temporal data. Data & Knowledge Engineering, 60(1), 208–221. https://doi.org/10.1016/j.datak.2006.01.013

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("stdbscan")

0.2.0 by Antoine Le Doeuff, 7 months ago


https://github.com/MiboraMinima/stdbscan/, https://miboraminima.github.io/stdbscan/


Report a bug at https://github.com/MiboraMinima/stdbscan/issues/


Browse source code at https://github.com/cran/stdbscan


Authors: Antoine Le Doeuff [aut, cre] (ORCID:


Documentation:   PDF Manual  


GPL (>= 3) license


Imports Rcpp, dbscan

Suggests knitr, rmarkdown, readr, testthat, ggplot2, plotly, covr, MetBrewer

Linking to Rcpp


Suggested by mlr3cluster.


See at CRAN