The R package gravity.distances provides distances between geographic entities — such as countries, US states or Canadian provinces — that are consistent with the gravity equation in international economics.
To install the package in R, simply run the following commands:
For more details and usage examples check out the respective Github repositories:
Last updated on August 5, 2021. © Julian Hinz 1987–2021.