R-Package – Supplement to: Constraints on the role of marine authigenic clay formation in determining seawater lithium isotope composition

DOI

This publication contains the R-Package used to solve the calculations performed in Läuchli et al., (2025). The package contains a README.txt file, as well as six scripts stored in the "scripts" file including:

(1) "main_script.R" running the complete Monte-Carlo simulation,

(2) "calling_data.R" calling the data,

(3) "isotope_signature.R" extracting the isotope signature of marine authigenic clays using the dataset presented in Läuchli et al., (submitted),

(4) "global_fluxes_uncertainties_rivers.R" simulating uncertainties associated with single-data point river on global estimations of the lithium flux from discharged by rivers to seawater,

(5) "global_fluxes.R" solving the ocean lithium isotope budget, and

The data files necessary to solve the R-Package are provided as .csv and stored in the "csv" file. Output files are stored in the "export" file. The scripts are written for the R Software.

The data were acquired as part of the German Science Foundation (DFG) priority program SPP-1803 “EarthShape: Earth Surface Shaping by Biota” initiated and lead by Friedhelm von Blanckenburg and Todd Ehlers. The GeoB cores samples were provided by the MARUM Research Center (Bremen). The 22SL Gravity Core was stored and supplied by the Bundesanstalt für Geowissenschaften und Rohstoffe (BGR, Hannover).


Packages: The R packages devtools, dplyr, compositions, tidyr, EnvStats, gdata, and gmp were used for calculations. The R-Package was managed using packrat:

compositions (Boogaart et al., 2022; License: GPL >= 2)
devtools (Wickham et al., 2022; MIT License)
dplyr (Wickham et al., 2022; MIT License)
EnvStats (Millard, 2022; License: GPL >= 3)
gdata (Warnes et al., 2022; License: GPL-2)
gmp (Lucas et al., 2023; License: GPL >= 2)
packrat (Ushey et al., 2022; License: GPL-2)
tidyr (Wickham and Girlich, 2022; MIT License)

The DFG Priority Program 1803 "EarthShape - Earth Surface Shaping by Biota" (2016-2022; https://www.earthshape.net/) explored between scientific disciplines and includes geoscientists and biologists to study from different viewpoints the complex question how microorganisms, animals, and plants influence the shape and development of the Earth’s surface over time scales from the present-day to the young geologic past. All study sites are located in the north-to-south trending Coastal Cordillera mountains of Chile, South America. These sites span from the Atacama Desert in the north to the Araucaria forests approximately 1300 km to the south. The site selection contains a large ecological and climate gradient ranging from very dry to humid climate conditions.

Identifier
DOI https://doi.org/10.5880/GFZ.3.3.2024.002
Related Identifier IsSupplementTo https://doi.org/10.1029/2024GC012099
Related Identifier Cites https://doi.org/10.1016/S0012-821X(02)00707-0
Related Identifier References https://cran.r-project.org/package=compositions
Related Identifier References https://cran.r-project.org/package=gmp
Related Identifier References https://cran.r-project.org/packages=EnvStats
Related Identifier Cites https://doi.org/10.1017/CBO9780511781247
Related Identifier References https://cran.r-project.org/package=packrat
Related Identifier References https://cran.r-project.org/package=gdata
Related Identifier References https://cran.r-project.org/package=tidyr
Related Identifier References https://cran.r-project.org/package=dplyr
Related Identifier References https://cran.r-project.org/package=devtools
Related Identifier IsSupplementTo https://doi.org/10.5880/GFZ.3.3.2024.004
Related Identifier Cites https://www.R-project.org/
Metadata Access http://doidb.wdc-terra.org/oaip/oai?verb=GetRecord&metadataPrefix=oai_datacite&identifier=oai:doidb.wdc-terra.org:8104
Provenance
Creator Läuchli, Charlotte ORCID logo; Gaviria-Lugo, Nestor ORCID logo; Bernhardt, Anne (ORCID: 0000-0002-2584-511X); Wittmann, Hella ORCID logo; Sachse, Dirk ORCID logo; Mohtadi, Mahyar ORCID logo; Lückge, Andreas; Frings, Patrick ORCID logo
Publisher GFZ Data Services
Contributor Läuchli, Charlotte; Frings, Patrick
Publication Year 2025
Funding Reference Deutsche Forschungsgemeinschaft http://dx.doi.org/10.13039/501100001659 Crossref Funder ID BE 5070/6-1 Anne Bernhardt; Deutsche Forschungsgemeinschaft http://dx.doi.org/10.13039/501100001659 Crossref Funder ID WI 3874/7-1 Hella Wittmann; Deutsche Forschungsgemeinschaft http://dx.doi.org/10.13039/501100001659 Crossref Funder ID SA1889/3-1 Dirk Sachse
Rights GNU GENERAL PUBLIC LICENSE (Version 3, 29 June 2007), Copyright (C) 2024 Helmholtz Centre Potsdam GFZ German Research Centre for Geosciences, Potsdam, Germany (Charlotte Läuchli); https://www.gnu.org/licenses/gpl-3.0.html
OpenAccess true
Contact Läuchli, Charlotte (Institute of Geological Sciences, Freie Universität Berlin, Berlin, Germany); Frings, Patrick (GFZ Helmholtz Centre for Geosciences, Potsdam, Germany)
Representation
Resource Type Software
Discipline Chemistry; Natural Sciences
Spatial Coverage (-74.000W, -42.000S, -70.000E, -26.000N); River sediment samples were sampled in March 2019.