OD-Means: k-Means for Origin-Destination

OD-means is a hierarchical adaptive k-means algorithm based on origin-destination pairs. In the first layer of the hierarchy, the clusters are separated automatically based on the variation of the within-cluster distance of each cluster until convergence. The second layer of the hierarchy corresponds to the sub clustering process of small clusters based on the distance between the origin and destination of each cluster.


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("ODMeans")

0.2.1 by Sebastian Moreno, 3 years ago


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


Authors: Sebastian Moreno [aut, cre] , Cristobal Heredia [aut] , Wilfredo Yushimito [ths] , Gonzalo Huerta [ths]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports geosphere, ggplot2, stats, ggmap, ggrepel


See at CRAN