PoR_coordinates {tectonicr} | R Documentation |
PoR coordinates
Description
Retrieve the PoR equivalent coordinates of an object
Usage
PoR_coordinates(x, PoR)
Arguments
x |
|
PoR |
Pole of Rotation. |
Value
data.frame
with the PoR coordinates
(lat.PoR
, lon.PoR
)
Examples
data("nuvel1")
por <- subset(nuvel1, nuvel1$plate.rot == "na") # North America relative to Pacific plate
data("san_andreas")
san_andreas.por_sf <- PoR_coordinates(san_andreas, por)
head(san_andreas.por_sf)
san_andreas.por_df <- PoR_coordinates(sf::st_drop_geometry(san_andreas), por)
head(san_andreas.por_df)
[Package tectonicr version 0.3.2 Index]