angleCalc | R Documentation |
Calculate angle between two sf point objects
angleCalc(x, y)
x |
numeric vector with two elements, X and Y coordinates of a point |
y |
numeric vector with two elements, X and Y coordinates of a point |
azimuthal from x to y, in degrees
p1 <- c(0, 1)
p2 <- c(1, 2)
angleCalc(p1, p2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.