spaAlign: Stratigraphic Plug Alignment for Integrating Plug-Based and XRF Data

Implements the Stratigraphic Plug Alignment (SPA) procedure for integrating sparsely sampled plug-based measurements (e.g., total organic carbon, porosity, mineralogy) with high-resolution X-ray fluorescence (XRF) geochemical data. SPA uses linear interpolation via the base approx() function with constrained extrapolation (rule = 1) to preserve stratigraphic order and avoid estimation beyond observed depths. The method aligns all datasets to a common depth grid, enabling high-resolution multivariate analysis and stratigraphic interpretation of core-based datasets such as those from the Utica and Point Pleasant formations. See R Core Team (2025) <https://stat.ethz.ch/R-manual/R-devel/library/stats/html/stats-package.html> and Omodolor (2025) <http://rave.ohiolink.edu/etdc/view?acc_num=case175262671767524> for methodological background and geological context.

Getting started

Package details

AuthorHope E. Omodolor [aut] (ORCID: <https://orcid.org/0009-0005-7842-406X>), Jeffrey M. Yarus [aut], Roger H. French [cre]
MaintainerRoger H. French <rxf131@case.edu>
LicenseMIT + file LICENSE
Version0.0.8
URL https://omodolor.github.io/spaAlign/  https://github.com/Omodolor/spaAlign 
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("spaAlign")

Try the spaAlign package in your browser

Any scripts or data that you put into this service are public.

spaAlign documentation built on Oct. 16, 2026, 5:10 p.m.