back

gravity.distances

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:


install.packages("remotes")
remotes::install_github("julianhinz/gravity.distances")

For more details and usage examples check out the respective Github repositories:

back
Last updated on April 21, 2024. © Julian Hinz 1987–2024.