distGPS: Compute physical distance between point using GPS coordinates
Description
The function read a data frame with the colomn "nom","lat" and "lon" (respectively, the name of the sample, the longitude in degree.decimal and lattitude in degree.decimal) and compute the distance between point in kilometers.
Usage
distGPS(input)
Arguments
input
A data frame with the colomn "nom","lat" and "lon" (respectively, the name of the sample, the longitude in degree.decimal and lattitude in degree.decimal)
Value
The output is a distance matrix with row and colomn names corresponding to the "nom" colomns of the input data frame.