The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

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

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.