SoftwareX (May 2024)

ODMeans: An R package for global and local cluster detection for Origin–Destination GPS data

  • Cristobal Heredia,
  • Sebastian Moreno,
  • Wilfredo Yushimito

Journal volume & issue
Vol. 26
p. 101732

Abstract

Read online

The ODMeans R package implements the OD-Means model, a two-layer hierarchical clustering algorithm designed for extracting both global and local travel patterns from Origin–Destination Pairs (OD-Pairs). In contrast to existing models, OD-Means automates cluster determination and offers advantages such as smaller Within-Cluster Distance (WCD) and dual hierarchies. The package includes functions for applying the model and visualizing the results on maps. Using real taxi data from Santiago, Chile, we demonstrate the package’s capabilities, showcasing its flexibility and impact on understanding urban mobility patterns.

Keywords