Calculation of distances along arcs
This function calculates the shortest arc distance between two points.
arcdist(p1, p2, output = "distance", origin = c(0, 0, 0), radius = authRadius)
p1 |
( |
p2 |
( |
output |
( |
origin |
( |
radius |
( |
A single numeric
value.
# coordinates of two points point1<- c(0,0) point2<- c(180,0) arcdist(point1,point2,"distance")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.