estima_distance_signo | R Documentation |
Estimate minimun distance. The distance contemplates the curvature of the earth and it is expressed in nautical miles. it also, determines the location with respect to the point base, positive when it is on the right and negative when it is on the left
estima_distance_signo(x, y, x1, y1)
x |
longitude of the observation |
y |
latitude of the observation |
x1 |
longitude base |
y1 |
latitude base |
signo <- estima_distance_signo(x=points_fishing$lon, y=points_fishing$lat, x1 = shelfbreak$lon, y1 = shelfbreak$lat)
mapa_peru()
points(x=points_fishing$lon, y=points_fishing$lat, pch = ".", cex = 4, col = signo$signo + 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.