Learn R Programming

tectonicr (version 0.4.8)

data2PoR: Transforms coordinates and azimuths into PoR coordinates system

Description

Convenience function to add PoR coordinates and PoR azimuths to data

Usage

data2PoR(x, PoR)

Value

sf object in PoR CRS with additional columns lon.PoR, lat.PoR, and azi.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.

Examples

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

Run the code above in your browser using DataLab