As palaeoecologist, I work on data retrieved from natural archives, going back in time. It can be a lake sediment core or peat. The time scale of the data, actually, is built by interpolation of a few radiocarbon dates, measured at particular places along the core. This creates an age-depth model. I routinely use two R packages from Maarten Blaauw to do this:
clam
, for classical age-modelling,- and
rbacon
, for Bayesian accumulation (and it’s an R package, obviously).
Each package defines its own function (clam()
and Bacon()
, respectively) which only needs the name of the core, to find a CSV file on your computer with the same name. This is in this CSV file that one saves the results of the radiocarbon datings to use them with either clam or rbacon. However, each package expects the data to be presented in a slightly different fashion. But in a file having the same name. Computers don’t allow that. And sometimes, I want to be able to use either clam or rbacon.