Learn R Programming

coffee

Chronological Ordering for Fossils and Environmental Events

It's quite fortunate that the above title can be acronymised to coffee. While individual calibrated radiocarbon dates can span several centuries, combining multiple dates together with any chronological constraints can make a chronology much more robust and precise.

This package uses Bayesian methods to enforce the chronological ordering of radiocarbon and other dates, for example for trees with multiple radiocarbon dates spaced at exactly known intervals (e.g., 10 annual rings). Another example is sites where the relative chronological position of the dates is taken into account - the ages of dates further down a site must be older than those of dates further up.

Please check out the vignettes folder for a tutorial. In short, install the package from github, load it and run the two main functions:

require(devtools)
install_github("Maarten14C/coffee")
library(coffee)
rings()
strat()

Copy Link

Version

Install

install.packages('coffee')

Monthly Downloads

330

Version

0.4.3

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Maarten Blaauw

Last Published

December 6th, 2024

Functions in coffee (0.4.3)

strat.cleanup

Remove .out files from a run
withinhpd

Calculate the fit of a modelled age with the corresponding date
sim.strat

Simulate the radiocarbon dating of random depths of a sediment which has accumulated over time.
strat

Model chronologically ordered dates
sim.rings

Simulate the radiocarbon dating of tree-rings
draw.strat

plot the dates and model of chronologically ordered dated depths
scissors

Remove the first n iterations.
IAT

calculate the Integrated Autocorrelation Time
ages.undated

Model ages between two dated levels
draw.MCMCrings

plot the dates and model of a MCMC wiggle-match dated tree
rings

wiggle-match C-14 dating of a tree
draw.rings

plot the dates and model of a wiggle-match dated tree
MCMCrings

MCMC wiggle-match C-14 dating of a tree
coffee

coffee
thinner

Thin iterations.