por_transformation_df {tectonicr} | R Documentation |
Conversion between spherical PoR to geographical coordinate system
Description
Transformation from spherical PoR to geographical coordinate system and vice versa
Usage
geographical_to_PoR(x, PoR)
PoR_to_geographical(x, PoR)
Arguments
x |
|
PoR |
Pole of Rotation. |
Value
"data.frame"
with the transformed coordinates
(lat.PoR
and lon.PoR
for PoR CRS,
or lat
and lon
for geographical CRS).
Examples
data("nuvel1")
por <- subset(nuvel1, nuvel1$plate.rot == "na") # North America relative to Pacific plate
data("san_andreas")
san_andreas.por <- geographical_to_PoR(san_andreas, por)
head(san_andreas.por)
head(PoR_to_geographical(san_andreas.por, por))
[Package tectonicr version 0.3.2 Index]