Function reference
Calibration of a Single Radiocarbon Sample
Function to independently calibrate a single radiocarbon determination against a given calibration curve. The rest of the library concerns calibration of multiple (related) radiocarbon samples.

CalibrateSingleDetermination()
 Calibrate a Single Radiocarbon Determination
Bayesian NonParametric Joint Density Estimation
Functions providing a rigorous Bayesian nonparametric alternative to summed probability distributions (SPDs). These functions enable the calibration and calendar age summarisation of multiple related radiocarbon samples (and provide plotting of the results)

PolyaUrnBivarDirichlet()
 Calibrate and Summarise Multiple Radiocarbon Samples via a Bayesian NonParametric DPMM (with Polya Urn Updating)

WalkerBivarDirichlet()
 Calibrate and Summarise Multiple Radiocarbon Samples via a Bayesian NonParametric DPMM (with Walker Updating)

FindPredictiveCalendarAgeDensity()
 Find Predictive Estimate of Shared Calendar Age Density from Bayesian NonParametric DPMM Output

PlotPredictiveCalendarAgeDensity()
 Plot Predictive Estimate of Shared Calendar Age Density from Bayesian NonParametric DPMM Output

PlotNumberOfClusters()
 Plot Number of Calendar Age Clusters Estimated in Bayesian NonParametric DPMM Output

PlotCalendarAgeDensityIndividualSample()
 Plot Posterior Calendar Age Estimate for an Individual Determination after Joint Calibration

PlotConvergenceData()
 Plot KL Divergence of Predictive Density to Assess Convergence of Bayesian NonParametric DPMM Sampler
Poisson Process Modelling
Functions for modelling the occurrence of radiocarbon samples as a variablerate (inhomogeneous) Poisson process. This is a further (analogous) approach that enables the rigorous summarisation of calendar age information from multiple related radiocarbon samples.

PPcalibrate()
 Model Occurrence of Multiple Radiocarbon Samples as a VariableRate Poisson Process

FindPosteriorMeanRate()
 Find Posterior Mean Rate of Sample Occurrence for Poisson Process Model

PlotPosteriorMeanRate()
 Plot Posterior Mean Rate of Sample Occurrence for Poisson Process Model

PlotNumberOfInternalChanges()
 Plot Number of Changepoints in Rate of Sample Occurrence for Poisson Process Model

PlotPosteriorChangePoints()
 Plot Calendar Ages of Changes in Rate of Sample Occurrence for Poisson Process Model

PlotPosteriorHeights()
 Plot Heights of Segments in Rate of Sample Occurrence for Poisson Process Model

PlotCalendarAgeDensityIndividualSample()
 Plot Posterior Calendar Age Estimate for an Individual Determination after Joint Calibration
Common convergence plotting functions
Functions that can be used to plot information on convergence of the MCMC for both the Bayesian nonparametric DPMM and the Poisson process approaches to calibration and summarisation.

PlotGelmanRubinDiagnosticSingleChain()
 Plot Histogram of the GelmanRubin Convergence Diagnostic for a Single MCMC Chain

PlotGelmanRubinDiagnosticMultiChain()
 Plot Histogram of the GelmanRubin Convergence Diagnostic for Multiple Independent MCMC Chains
Helper functions
General functions that may be of use. However, please do not use SPDs in your inference (use either the Bayesian nonparametric or Poisson Process approaches described above).

FindSummedProbabilityDistribution()
 Find the summed probability distribution (SPD) for a set of radiocarbon observations

InterpolateCalibrationCurve()
 Interpolate a calibration curve at a set of calendar ages

GenerateOxcalCode()
 Outputs code suitable for running in OxCal from a series of radiocarbon determinations
Example datasets
Sets of radiocarbon determinations, either from reallife examples or artificiallygenerated, that can be used as examples with the calibration functions.

alces
 Example reallife data  Alces in Yukon and Alaska

armit
 Example reallife data  Population Decline in Iron Age Ireland

bison
 Example reallife data  Bison in Yukon and Alaska

buchanan
 Example reallife data  PalaeoIndian demography

cervus
 Example reallife data  Cervus in Yukon and Alaska

equus
 Example reallife data  Equus in Yukon and Alaska

human
 Example reallife data  Humans in Yukon and Alaska

kerr
 Example reallife data  Irish Rath

mammuthus
 Example reallife data  Mammuthus in Yukon and Alaska

pp_uniform_phase
 Example artificial data  Uniform Phase

two_normals
 Example artificial data  Mixture of Normal Phases