flowcluster: Cluster Origin-Destination Flow Data
Provides functionality for clustering
origin-destination (OD) pairs, representing desire lines (or flows).
This includes creating distance matrices between OD pairs and passing
distance matrices to a clustering algorithm. See the academic paper
Tao and Thill (2016) <doi:10.1111/gean.12100>
for more details on spatial clustering of flows.
See the paper on delineating demand-responsive operating areas
by Mahfouz et al. (2025) <doi:10.1016/j.urbmob.2025.100135>
for an example of how this package can be used to cluster flows for
applied transportation research.
| Version: |
0.2.1 |
| Depends: |
R (≥ 4.1.0) |
| Imports: |
sf, dbscan, dplyr, glue, lwgeom, purrr, rlang, tibble, units, tidyr, tidyselect |
| Suggests: |
testthat (≥ 3.0.0), tmap |
| Published: |
2025-08-21 |
| DOI: |
10.32614/CRAN.package.flowcluster |
| Author: |
Hussein Mahfouz
[aut, cre],
Robin Lovelace
[aut] |
| Maintainer: |
Hussein Mahfouz <husseinmahfouz93 at gmail.com> |
| License: |
MIT + file LICENSE |
| URL: |
https://hussein-mahfouz.github.io/flowcluster/,
https://github.com/hussein-mahfouz/flowcluster |
| NeedsCompilation: |
no |
| Materials: |
README, NEWS |
| CRAN checks: |
flowcluster results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=flowcluster
to link to this page.