Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.97 KB

README.org

File metadata and controls

34 lines (26 loc) · 1.97 KB

clumpedcalib: Calculate and Apply Clumped Isotope Calibrations Using Bootstrapping

https://zenodo.org/badge/657580630.svg

Written by Ilja J. Kocken Feel free to use this stuff, as long as you adhere to the LICENSE.md

How to calculate bootstrapped averages and apply a clumped-isotope specific temperature calibration.

  • Calculate bootstrapped York regression from clumped isotope calibration data.
  • Calculate bootstrapped sample means for the age, d13C, d18O, and D47.
  • Apply the bootstrapped calibration to calculate temperature and d18Osw.
  • Also comes with the classic d18Occ calibrations. See temp_calc().
  • As well as the inverses, for when you have constraints on temperature and wish to calculate d18Osw. See d18Osw_calc() .

To use this:

  1. Install this package clumpedcalib, see #installation.
  2. Update the input calibration data dat/example_calib.csv. Make sure the column names include X, D47, sd_X, sd_D47.
  3. Add your sample data at the replicate level.
  4. Check to see if you like the function that calculates d18Osw. Currently, you can choose from the Kim & O’Neil 1997 calibration, as adjusted by Bemis et al., 1998, or the Marchitto et al., 2014 calibration.
  5. Create your own definition of filter outliers so that it filters out bad measurements and NA’s for your data.
  6. Walk through the example workflow step-by-step.
  7. Have a look at the functions to better understand what’s happening.

The bootstrapped calibration idea is based on a Matlab script written by Alvaro Fernandez.

installation

To install this development package:

remotes::install_github("japhir/clumpedcalib")

Or you can look at all the functions and only copy what you like.