PoR_distance | R Documentation |
Retrieve the (angular) distance to the PoR (Euler pole).
PoR_distance(x, PoR, FUN = orthodrome)
x |
|
PoR |
Pole of Rotation. |
FUN |
function to calculate the great-circle distance.
|
numeric vector
data("nuvel1")
por <- subset(nuvel1, nuvel1$plate.rot == "na") # North America relative to Pacific plate
data("san_andreas")
# distance form sf object
PoR_distance(san_andreas, por)
# distance form data.frame
PoR_distance(sf::st_drop_geometry(san_andreas), por)
PoR_distance(sf::st_drop_geometry(san_andreas), por, FUN = orthodrome)
PoR_distance(sf::st_drop_geometry(san_andreas), por, FUN = vincenty)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.