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.