data2PoR: Transforms coordinates and azimuths into PoR coordinates...

View source: R/model_shmax.R

data2PoRR Documentation

Transforms coordinates and azimuths into PoR coordinates system

Description

Convenience function to add PoR coordinates and PoR azimuths to data

Usage

data2PoR(x, PoR)

Arguments

x

sf object or a data.frame containing the coordinates of the point(s) (lat, lon columns). x must contain the direction of \sigma_{Hmax} as column azi, its standard deviation (column unc) is optional).

PoR

data.frame or object of class euler.pole containing the geographical coordinates of the Eule pole.

Value

sf object in PoR CRS with additional columns lon.PoR, lat.PoR, and azi.PoR

Examples

por <- subset(nuvel1, nuvel1$plate.rot == "na")
data2PoR(san_andreas, por)

tobiste/tectonicr documentation built on June 11, 2025, 12:50 a.m.