calculate distance (km) between two points

Share:

Usage

1
distance(long1, lat1, long2, lat2)

Arguments

long1
lat1
long2
lat2

Examples

1
2
3
4
5
6
7
8
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.



{ ~kwd1 }
{ ~kwd2 }