Computing a distance matrix in meters among points in decimal degrees under a spherical Earth model
misc.dlatlon2distm(XY)
data frame or matrix with latitude-longitude coordinates in decimal degrees format. This program computes a distance matrix for Earth points in decimal degrees. It assumes a spherical model with an Earth radius of 6371 km.