estima_distance | R Documentation |
Estimate minimun distance. The distance contemplates the curvature of the earth and it is expressed in nautical miles
estima_distance(x, y, x1, y1)
x |
longitude of the observation |
y |
latitude of the observation |
x1 |
longitude base |
y1 |
latitude base |
longitude and latitude of the place for example: coast line, island, shelf break etc.
Pablo Marin
head(dataLand)
dataLand$dist <- estima_dist(x = dataLand$Longitude, y = dataLand$Latitude, x1 = shelfbreak$lon, y1 = shelfbreak)
$lat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.