PoR_coordinates function

Coordinates of the Pole of Rotation Reference System

Coordinates of the Pole of Rotation Reference System

Retrieve the PoR equivalent coordinates of an object

PoR_coordinates(x, PoR)

Arguments

  • x: sf or data.frame containing lat and lon coordinates (lat, lon)

  • PoR: Pole of Rotation. "data.frame" or object of class "euler.pole"

    containing the geographical coordinates of the Euler pole

Returns

PoR_coordinates() returns 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") # coordinates from sf object san_andreas.por_sf <- PoR_coordinates(san_andreas, por) head(san_andreas.por_sf) # coordinates from data.frame san_andreas.por_df <- PoR_coordinates(sf::st_drop_geometry(san_andreas), por) head(san_andreas.por_df)
  • Maintainer: Tobias Stephan
  • License: GPL (>= 3)
  • Last published: 2025-03-01