bearing_geodesic | R Documentation |
Calculates the bearing between two point geometries.
bearing_geodesic(x, y)
bearing_haversine(x, y)
x |
an object of class |
y |
an object of class |
A vector of doubles of the calculated bearing for between x and y
x <- geom_point(runif(10, 0, 90), rnorm(10, 1, 90))
y <- geom_point(runif(10, 0, 90), rnorm(10, 1, 90))
bearing_geodesic(x, y)
bearing_haversine(x, y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.