Distance Calculator for the Different Levels of European NUTS Regions
The eudistance function calculates the centroid distance matrix for the different levels of the EU NUTS regions in meters and complements it by their code, name, level, and country identifier, as well as their geometric data and centroids. Optionally, this R function displays centroids on a map of Europe to ease the verification of their positions.
# install.packages("devtools")
# library(devtools)
install_github("mtkurbucz/eudistance")