Description Usage Arguments Value
View source: R/fishing_coordinates.R
This function is to calculate the distane between two coordinates based on how a crow flies.
1 | simple_distance(lon1, lat1, lon2, lat2)
|
lon1 |
longitude of point 1 |
lat1 |
latitude of point 1 |
lon2 |
longitude of point 2 |
lat2 |
latitude of point 2 |
the distance between two points. If lat1, lon1, lat2, and lon2 were supplied as a vector, it will return a vector of distances.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.