Package: ShellChron 0.4.1

ShellChron: Builds Chronologies from Oxygen Isotope Profiles in Shells

Takes as input a stable oxygen isotope (d18O) profile measured in growth direction (D) through a shell + uncertainties in both variables (d18O_err & D_err). It then models the seasonality in the d18O record by fitting a combination of a growth and temperature sine wave to year-length chunks of the data (see Judd et al., (2018) <doi:10.1016/j.palaeo.2017.09.034>). This modeling is carried out along a sliding window through the data and yields estimates of the day of the year (Julian Day) and local growth rate for each data point. Uncertainties in both modeling routine and the data itself are propagated and pooled to obtain a confidence envelope around the age of each data point in the shell. The end result is a shell chronology consisting of estimated ages of shell formation relative to the annual cycle with their uncertainties. All formulae in the package serve this purpose, but the user can customize the model (e.g. number of days in a year and the mineralogy of the shell carbonate) through input parameters.

Authors:Niels de Winter [aut, cre]

ShellChron_0.4.1.tar.gz
ShellChron_0.4.1.zip(r-4.5)ShellChron_0.4.1.zip(r-4.4)ShellChron_0.4.1.zip(r-4.3)
ShellChron_0.4.1.tgz(r-4.4-any)ShellChron_0.4.1.tgz(r-4.3-any)
ShellChron_0.4.1.tar.gz(r-4.5-noble)ShellChron_0.4.1.tar.gz(r-4.4-noble)
ShellChron_0.4.1.tgz(r-4.4-emscripten)ShellChron_0.4.1.tgz(r-4.3-emscripten)
ShellChron.pdf |ShellChron.html
ShellChron/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/nielsjdewinter/shellchron/issues

Datasets:

On CRAN:

3.18 score 3 stars 7 scripts 180 downloads 22 exports 88 dependencies

Last updated 2 years agofrom:ac2ecdddd0. Checks:OK: 1 ERROR: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 23 2024
R-4.5-winERRORNov 23 2024
R-4.5-linuxERRORNov 23 2024
R-4.4-winERRORNov 23 2024
R-4.4-macERRORNov 23 2024
R-4.3-winERRORNov 23 2024
R-4.3-macERRORNov 23 2024

Exports:%>%age_corrcumdycumulative_dayd18O_modeld18Oc_from_T_d18Owd18Ow_from_d18O_Tdata_importdata_import_objectexport_resultsgrowth_modelgrowth_rate_curvemc_err_formmc_err_orthmc_err_projpeakidrun_modelsd_wtsinregT_from_d18O_d18Owtemperature_curvewrap_function

Dependencies:abindbackportsbootbroomcarcarDataclassclassIntclicolorspacecorrplotcowplotcpp11DBIDerivdoBydplyre1071fansifarverFNNFormulagenericsggplot2ggpubrggrepelggsciggsignifgluegridExtragstatgtableintervalsisobandKernSmoothlabelinglatticelifecyclelme4magrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamodelrmunsellnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpolynomproxypurrrquantregR6RColorBrewerRcppRcppEigenrlangrstatixrtops2scalessfsftimespspacetimeSparseMstarsstringistringrsurvivaltibbletidyrtidyselectunitsutf8vctrsviridisLitewithrwkxtszoo

Readme and manuals

Help Manual

Help pageTopics
Function that corrects chronologies for sudden jumps in timeage_corr
Function to detect year transitions and calculate cumulative age of model resultscumdy
Function to detect year transitions and calculate cumulative age of model resultscumulative_day
Function to convert SST data to d18Od18O_model
Function to convert T data to d18Od18Oc_from_T_d18Ow
Function BLATANTLY STOLEN FROM SHELLCHRON PACKAGE to convert d18O data to SSTd18Ow_from_d18O_T
Function to import d18O data and process yearmarkers and calculation windowsdata_import
Function to prepare d18O data from a preexisting object and process yearmarkers and calculation windowsdata_import_object
Function to merge and export the results of the ShellChron modelexport_results
Function that models a d18O curve through SST and GR sinusoidsgrowth_model
Function that creates a skewed sinusoidal growth rate (GR) curve from a list of parametersgrowth_rate_curve
Function that propagates measurement uncertainty through model resultsmc_err_form
Function that propagates measurement uncertainty through model resultsmc_err_orth
Function that propagates measurement uncertainty through model resultsmc_err_proj
Function that identifies peaks in a datasetpeakid
Function that optimizes sinusoid parameters to fit d18O datarun_model
Function to calculate weighted standard deviationsd_wt
Function that carries out a sinusoidal regressionsinreg
Function BLATANTLY STOLEN FROM SHELLCHRON PACKAGE to convert d18O data to SSTT_from_d18O_d18Ow
Function that creates a sinusoidal Sea Surface Temperature (SST) curve from a list of parameterstemperature_curve
Virtual input data for ShellChronVirtual_shell
Full ShellChron workflow wrapped in a single functionwrap_function