SHmax direction resulting from multiple plate boundaries
SHmax direction resulting from multiple plate boundaries
Calculates a SHmax direction at given coordinates, sourced by multiple plate boundaries. This first-order approximation is the circular mean of the superimposed theoretical directions, weighted by the rotation rates of the underlying PoRs.
df: data.frame containing the coordinates of the point(s) (lat, lon), and the direction of SHmaxazi (in degrees)
PoRs: multirow data.frame or "euler.pole" object that must contain lat, lon and angle
types: character vector with length equal to number of rows in PoRs. Type of plate boundary. Must be "out", "in", "right", or "left" for outward, inward, right-lateral, or left-lateral moving plate boundaries, respectively.
absolute: logical. Whether the resultant azimuth should be weighted using the absolute rotation at the points or the angular rotation of the PoRs.
PoR_weighting: (optional) numeric vector with length equal to number of rows in PoRs. Extra weightings for the used PoRs.
Returns
two column vector. azi is the resultant azimuth in degrees / geographical CRS), R is the resultant length.