Package: tectonicr 0.4.8.9000

tectonicr: Analyzing the Orientation of Maximum Horizontal Stress

Models the direction of the maximum horizontal stress using relative plate motion parameters. Statistical algorithms to evaluate the modeling results compared with the observed data. Provides plots to visualize the results. Methods described in Stephan et al. (2023) <doi:10.1038/s41598-023-42433-2> and Wdowinski (1998) <doi:10.1016/S0079-1946(98)00091-3>.

Authors:Tobias Stephan [aut, cre]

tectonicr_0.4.8.9000.tar.gz
tectonicr_0.4.8.9000.zip(r-4.7)tectonicr_0.4.8.9000.zip(r-4.6)tectonicr_0.4.8.9000.zip(r-4.5)
tectonicr_0.4.8.9000.tgz(r-4.6-any)tectonicr_0.4.8.9000.tgz(r-4.5-any)
tectonicr_0.4.8.9000.tar.gz(r-4.7-any)tectonicr_0.4.8.9000.tar.gz(r-4.6-any)
tectonicr_0.4.8.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
tectonicr/json (API)
NEWS

# Install 'tectonicr' in R:
install.packages('tectonicr', repos = c('https://tobiste.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/tobiste/tectonicr/issues

Pkgdown/docs site:https://tobiste.github.io

Datasets:
  • cpm_models - Global model of current plate motions
  • iceland - Example crustal stress dataset
  • nuvel1 - NUVEL-1 Global model of current plate motions
  • nuvel1_plates - Plate Boundaries on the Earth
  • pb2002 - Global model of current plate motions
  • plates - Plate Boundaries on the Earth
  • san_andreas - Example crustal stress dataset
  • tibet - Example crustal stress dataset

On CRAN:

Conda:

geologystructural-geologytectonics

7.32 score 8 stars 1 packages 32 scripts 254 downloads 135 exports 64 dependencies

Last updated from:770efe4953. Checks:7 NOTE, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64NOTE347
source / vignettesOK356
linux-release-x86_64NOTE268
macos-release-arm64NOTE242
macos-oldrel-arm64NOTE280
windows-develNOTE729
windows-releaseNOTE188
windows-oldrelNOTE607
wasm-releaseOK153

Exports:abs_velangle_vectorsatan2_specatan2d_specaxesaxial_dispersionaxial_strengthcartesian_to_geographicalcartesian_to_sphericalcircular_dispersioncircular_dispersion_bootcircular_distancecircular_IQRcircular_meancircular_mean_differencecircular_mean_difference_altcircular_mediancircular_modecircular_plotcircular_qqplotcircular_quantilescircular_rangecircular_sample_mediancircular_sample_median_deviationcircular_sdcircular_sd_errorcircular_sd2circular_summarycircular_varcompact_gridcompact_grid2confidence_angleconfidence_intervalconfidence_interval_fisherdata2PoRdeg2raddeviation_normdeviation_shmaxdispersion_griddist_greatcircledistance_binned_statsdistance_from_pbdistroll_circstatsdistroll_confidencedistroll_dispersiondistroll_dispersion_sdedownload_WSMdownload_WSM2016dvmearth_radiusequivalent_rotationest.kappaest.kappa.MLEeuler_poleeulerpole_greatcircleseulerpole_loxodromeseulerpole_pathseulerpole_smallcirclesgeographical_to_cartesiangeographical_to_PoRgeographical_to_sphericalgeom_azimuthgeom_azimuthpointget_azimuthhaversinekernel_dispersionkuiper_testlatitude_moduloline_azimuthlines_azimuthsload_WSMload_WSM2016longitude_modulomean_resultant_lengthmodel_shmaxnorm_chisqortensor2dorthodromeot_eigen2dparse_wsm_qualityplot_densityplot_pointsPoR_azimuthPoR_coordinatesPoR_crsPoR_distancePoR_mapPoR_shmaxPoR_stress2gridPoR_stress2grid_statsPoR_to_geographicalPoR2Geo_azimuthPositionCenterSpokeprd_errprincipal_directionprojected_pb_strikepvmquantise_wsm_qualityquick_plotqvmrad2degrayleigh_testrelative_rotationroll_circstatsroll_confidenceroll_dispersionroll_dispersion_CIroll_dispersion_sderoll_normchisqroll_rayleighroserose_fanrose_linerose_statsrvmsample_circular_dispersionsample_circular_distancesample_circular_variancesecond_central_momentshortest_distance_to_linespherical_to_cartesianspherical_to_geographicalstress_analysisstress_colorsstress2gridstress2grid_statssuperimposed_shmaxsuperimposed_shmax_PBtectonicr.colorsvcrossvincentyvm_qqplotwatson_testweighted_rayleighweighting

Dependencies:abindbootcircularclassclassIntclicpp11DBIdeldirdplyre1071farvergenericsggplot2gluegoftestgridExtragtableisobandKernSmoothlabelinglatticelifecyclemagrittrMASSMatrixmvtnormnlmepillarpkgconfigpolyclipproxypurrrR6RColorBrewerRcpprlangs2S7scalessfsmoothrspatstat.dataspatstat.explorespatstat.geomspatstat.randomspatstat.sparsespatstat.univarspatstat.utilsstringistringrtensorterratibbletidyrtidyselectunitsutf8vctrsviridisviridisLitewithrwkzoo

Circular statistics

Rendered fromstatistics.Rmdusingknitr::rmarkdownon May 11 2026.

Last update: 2025-12-08
Started: 2025-11-07

Handling large datasets

Rendered fromdatasets.Rmdusingknitr::rmarkdownon May 11 2026.

Last update: 2025-11-07
Started: 2022-03-16

Introduction

Rendered fromtectonicr.Rmdusingknitr::rmarkdownon May 11 2026.

Last update: 2025-12-02
Started: 2022-03-15

Spatial Analysis

Rendered fromspatial.Rmdusingknitr::rmarkdownon May 11 2026.

Last update: 2025-12-03
Started: 2025-11-07

Spatial interpolation

Rendered frominterpolation.Rmdusingknitr::rmarkdownon May 11 2026.

Last update: 2025-12-03
Started: 2025-11-07

Plotting trajectories of theoretical stress directions

Rendered fromstress_trajectories.Rmdusingknitr::rmarkdownon May 11 2026.

Last update: 2025-11-07
Started: 2022-03-16

Readme and manuals

Help Manual

Help pageTopics
Absolute Plate Velocityabs_vel
Angle Between Two Vectorsangle_vectors
Degrees to Radiansangle-conversion deg2rad rad2deg
Plot axesaxes
Circular Mean Differencecircle_mean_diff circular_mean_difference circular_mean_difference_alt
Summary Statistics of Circular Datacircle_stats circular_IQR circular_mean circular_median circular_quantiles circular_sd circular_var
Bootstrapped Estimates for Circular Dispersioncircular_dispersion_boot
Circular Modecircular_mode
Quantile-Quantile Linearised Plot for Circular Distributionscircular_qqplot
Circular Rangecircular_range
Standard Error of Mean Direction of Circular Datacircular_sd_error
Circular Summary Statisticscircular_summary
Compact Smoothed Stress Fieldcompact-grid compact_grid compact_grid2
Confidence Interval around the Mean Direction of Circular Data after Batschelet (1971)confidence confidence_angle confidence_interval
Confidence Interval around the Mean Direction of Circular Data after Fisher (1993)confidence_interval_fisher
Coordinate Correctioncoordinate_mod latitude_modulo longitude_modulo
Coordinate Transformationscartesian_to_geographical coordinates geographical_to_cartesian geographical_to_spherical
Coordinate Transformationscartesian_to_spherical coordinates2 spherical_to_cartesian spherical_to_geographical
Global model of current plate motionscpm_models
Transforms coordinates and azimuths into PoR coordinates systemdata2PoR
Normalize Angle Between Two Directionsdeviation_norm
Deviation of Observed and Predicted Directions of Maximum Horizontal Stressdeviation_shmax
Circular Distance and Dispersioncircular_dispersion circular_distance circular_sd2 dispersion
Distance between pointsdist_greatcircle
Distance Binned Summary Statisticsdistance_binned_stats
Distance from plate boundarydistance_from_pb
Earth's radius in kmearth_radius
Equivalent rotationequivalent_rotation
Concentration parameter of von Mises distributionest.kappa est.kappa.MLE estimate-kappa
Euler pole objecteuler_pole
Azimuth visualizationgeom_azimuth
Azimuth + point visualizationgeom_azimuthpoint
Azimuth Between two Pointsget_azimuth
World Stress Map Database (WSM)download_WSM download_WSM2016 import_WSM load_WSM load_WSM2016
Check if object is euler.poleis.euler
Kuiper Test of Circular Uniformitykuiper_test
Extract azimuths of line segmentslines_azimuths line_azimuth
Mean Resultant Lengthmean_resultant_length
Theoretical Direction of Maximum Horizontal Stress in the geographical reference system.model_shmax
Normalized Chi-Squared Test for Circular Datanorm_chisq
NUVEL-1 Global model of current plate motionsnuvel1
Plate Boundaries on the Earthnuvel1_plates
Decomposition of Orientation Tensor in 2Daxial_dispersion axial_strength ort-eigen ot_eigen2d principal_direction
Orientation Tensorortensor2d
Numerical values to World Stress Map Quality Rankingparse_wsm parse_wsm_quality quantise_wsm_quality
Global model of current plate motionspb2002
Plate Boundaries on the Earthplates
Circular Density Plotplot_density
Add Points to a Circular Plotplot_points
Azimuth Conversion from Geographical to PoR Coordinate Reference SystemPoR_azi PoR_azimuth PoR_shmax
Coordinates of the Pole of Rotation Reference SystemPoR_coordinates
PoR coordinate reference systemPoR_crs
Distance to Pole of RotationPoR_distance
Map of data in Pole of Rotation reference framePoR_map
Spatial Interpolation of SHmax in PoR Coordinate Reference SystemPoR_stress2grid PoR_stress2grid_stats
Conversion between spherical PoR to geographical coordinate systemgeographical_to_PoR PoR_to_geographical por_transformation
Azimuth Conversion From PoR to Geographical Coordinate Reference SystemPoR2Geo_azimuth
Error of Model's Predictionprd_err
Strike of the plate boundary projected on data pointprojected_pb_strike
Plotting Stress Analysis Resultsquick_plot
Rayleigh Test of Circular Uniformityrayleigh_test
Relative rotation between two rotationsquaternion relative_rotation rotation
Apply Rolling Functions using Circular Statisticsroll_circstats
Apply Rolling Functions using Circular Statistical Tests for Uniformityrolling_test roll_confidence roll_dispersion roll_dispersion_CI roll_dispersion_sde roll_normchisq roll_rayleigh
Rose Diagramrose
Direction Lines and Fans in Circular Diagramrose_fan rose_geom rose_line
Show Average Direction and Spread in Rose Diagramrose_stats
Sample circular dispersionsample_circular_dispersion sample_circular_distance sample_circular_variance sample_dispersion
Sample Circular Median and Deviationcircular_sample_median circular_sample_median_deviation sample_median
Second Central Momentumsecond_central_moment
Shortest distance between pairs of geometriesshortest_distance_to_line
Quadrant-specific inverse of the tangentatan2d_spec atan2_spec spec_atan
Angle along great circle on spherical surfacehaversine orthodrome spherical_angle vincenty
Quick analysis of a stress data setstress_analysis
Color palette for stress regimestress_colors
Example crustal stress dataseticeland san_andreas stress_data tibet
Theoretical Plate Tectonic Stress Pathseulerpole_greatcircles eulerpole_loxodromes eulerpole_paths eulerpole_smallcircles stress_paths
Spatial Interpolation of SHmaxstress2grid stress2grid_stats
SHmax direction resulting from multiple plate boundariessuperimposed_shmax
SHmax direction resulting from multiple plate boundaries considering distance to plate boundariessuperimposed_shmax_PB
Colors for input variablestectonicr.colors
Vector cross productvcross
von Mises Quantile-Quantile Plotvm_qqplot
The von Mises Distributiondvm pvm qvm rvm vonmises
Watson's U^2 Test of Circular Uniformitywatson_test
Weighted Goodness-of-fit Test for Circular Dataweighted_rayleigh
Weighting Factorsweighting