Description Usage Arguments Value Examples
This function calculates the bearing (direction) for something (e.g. an animal) moving from point 1 to point 2.
1 | bearing(x, y, x2, y2)
|
x |
Longitude of point 1 |
y |
Latitude of point 1 |
x2 |
Longitude of point 2 |
y2 |
Latitude of point 2 |
Bearing in radians from point 1 to point 2 (from -pi to pi)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.