stress_analysis {tectonicr} | R Documentation |
Quick analysis of a stress data set
Description
Returns the converted azimuths, distances to the plate boundary, statistics of the model, and some plots.
Usage
stress_analysis(
x,
PoR,
type = c("none", "in", "out", "right", "left"),
pb,
plot = TRUE,
...
)
Arguments
x |
|
PoR |
Pole of Rotation. |
type |
Character. Type of plate boundary (optional). Can be
|
pb |
(optional) |
plot |
(logical). Whether to produce a plot additional to output. |
... |
optional arguments to |
Value
list containing the following values:
results
data.frame showing the the coordinate and azimuth conversions (
lat.PoR
,lon.PoR
, andazi.PoR
), the predicted azimuths (prd
), deviation angle from predicted (dev
), circular distance (cdist
), misfit to predicted stress direction (nchisq
) and, if given, distance to tested plate boundary (distance
)stats
array with circular (weighted) mean, circular standard deviation, circular variance, circular dispersion, the 95% confidence angle, and the normalized Chi-squared test statistic
test
list containting the test results of the (weighted) Rayleigh test against the uniform distribution about the predicted orientation.
See Also
PoR_shmax()
, distance_from_pb()
, norm_chisq()
, quick_plot()
Examples
data("nuvel1")
na_pa <- subset(nuvel1, nuvel1$plate.rot == "na")
data("plates")
plate_boundary <- subset(plates, plates$pair == "na-pa")
data("san_andreas")
stress_analysis(san_andreas, na_pa, type = "right", plate_boundary, plot = TRUE)