distance_from_pb | R Documentation |
Absolute distance of data points from the nearest plate boundary in degree
distance_from_pb(x, PoR, pb, tangential = FALSE, km = FALSE, ...)
x , pb |
|
PoR |
Pole of Rotation. |
tangential |
Logical. Whether the plate boundary is a tangential
boundary ( |
km |
Logical. Whether the distance is expressed in kilometers
( |
... |
optional arguments passed to |
The distance to the plate boundary is the longitudinal or latitudinal difference between the data point and the plate boundary (along the closest latitude or longitude) for inward/outward or tangential plate boundaries, respectively.
Numeric vector of the great circle distances
Wdowinski, S. (1998). A theory of intraplate tectonics. Journal of Geophysical Research: Solid Earth, 103(3), 5037<U+2013>5059. http://dx.doi.org/10.1029/97JB03390
data("nuvel1")
na_pa <- subset(nuvel1, nuvel1$plate.rot == "na")
data("plates")
plate_boundary <- subset(plates, plates$pair == "na-pa")
data("san_andreas")
res <- distance_from_pb(
x = san_andreas, PoR = na_pa, pb = plate_boundary, tangential = TRUE
)
head(res)
res.km <- distance_from_pb(
x = san_andreas, PoR = na_pa, pb = plate_boundary, tangential = TRUE, km = TRUE
)
range(res.km)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.