View source: R/dist_great_circle.R
dist_great_circle | R Documentation |
The function computes the Great Circle distance between two two points defined by their longitudes and latitudes.
dist_great_circle(long1, long2, lat1, lat2, method = "vicenty")
long1 |
project name, project dir in which proj_name.xml is found |
long2 |
raster.tif INT2S path or present in wd, |
lat1 |
habitat code in the raster file |
lat2 |
default 0, minimum habitat size in ha |
method |
default NULL nodata code in the raster file |
P. Savary
dist_great_circle(long1 = -73.99420, lat1 = 40.75170, long2 = -87.63940, lat2 = 41.87440, method = "vicenty")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.