View source: R/twopoints.dist.R
| twopoints.dist | R Documentation | 
Calculate the distance between two points on earth.
twopoints.dist(lat1, lon1, lat2, lon2) 
lat1 | 
a latitude value of a point.
lon1 | 
a longitude value of a point.
lat2 | 
a latitude value of another point.
lon2 | 
a latitude value of another point.
twopoints.dist(39,110,40,110)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.