Radiocarbon dating requires a range of calculations, for example calibration1234, translations between pMC, F14C, C14 age and D14C, and assessing the impacts of contamination. This package provides functions to do so in R.
On first usage of the package, it has to be installed:
The companion data package ‘rintcal’ which has the radiocarbon calibration curves will be installed if it isn’t already. New versions of R packages appear regularly, so please re-issue the above command regularly to remain up-to-date, or use:
To obtain access to the calibration curves and radiocarbon functions, first the package has to be loaded:
Calibration curves can be plotted:
Or, comparing two calibration curves:
Or zooming in to between AD 1600 and 2000 (using the BCAD scale):
Interesting things happened after 1950, as can be seen by adding a postbomb curve:
The postbomb curve dwarfs the IntCal20 curve, so we could also plot both on separate vertical axes:
The calibration curves can also be plotted in the ‘realms’ of F14C, pMC or D14C (see below), e.g.:
This package provides functions to translate values between the radiocarbon-relevant ‘realms’ of cal BP (calendar years before AD 1950), BC/AD, C14, F14C, pMC and D14C. The following Table lists the available functions:
from\to | calBP | BCAD | C14 | F14C | pMC | D14C |
---|---|---|---|---|---|---|
calBP | - | calBPtoBCAD |
calBPtoC14 |
calBPtoF14C |
calBPtopMC |
calBPtoD14C |
BCAD | BCADtocalBP |
- | BCADtoC14 |
BCADtoF14C |
BCADtopMC |
BCADtoD14C |
C14 | C14tocalBP |
C14toBCAD |
- | C14toF14C |
C14topMC |
C14toD14C |
F14C | NA | NA | F14CtoC14 |
- | F14CtopMC |
F14CtoD14C |
pMC | NA | NA | pMCtoC14 |
pMCtoF14C |
- | pMCtoD14C |
D14C | NA | NA | D14CtoC14 |
D14CtoF14C |
D14CtopMC |
- |
As an example of the above functions, the IntCal20 C14 age and error belonging to one or more cal BP or BCAD ages can be found (interpolating linearly where necessary):
## [,1] [,2]
## [1,] 168 11
## [,1] [,2]
## [1,] 170 11
## [2,] 174 11
## [3,] 178 11
## [4,] 181 11
## [5,] 185 11
## [6,] 188 11
## [7,] 190 11
## [8,] 193 11
## [9,] 195 11
## [10,] 197 11
## [11,] 199 11
To translate between BC/AD and cal BP ages, we can use (the last example avoids 0 BC/AD, since some calendars do not include zero):
## [1] -74
## [1] 1951
## [1] 1950
D14C (\(\Delta\)14C, a proxy for atmospheric 14C concentration at t cal BP) can be transferred to F14C, and the other way around:
## [1] 0.7100983
## [1] 151.8406
This can also be done with C14 ages:
## [1] 622.1646
## [1] 2750.1
These functions can be used to investigate \(\Delta^{14}C\) over time:
x <- seq(0, 55e3, length=1e3)
cc <- calBPtoC14(x)
Dcc <- calBPtoD14C(x)
par(mar=c(4,3,1,3), bty="l")
plot(x/1e3, Dcc[,1]+Dcc[,2], type="l", xlab="kcal BP", ylab="")
mtext(expression(paste(Delta, ""^{14}, "C")), 2, 1.7)
lines(x/1e3, Dcc[,1]-Dcc[,2])
par(new=TRUE)
plot(x/1e3, (cc[,1]-cc[,2])/1e3, type="l", xaxt="n", yaxt="n", col=4, xlab="", ylab="")
lines(x/1e3, (cc[,1]+cc[,2])/1e3, col=4)
mtext(expression(paste(""^{14}, "C kBP")), 4, 2, col=4)
axis(4, col=4, col.axis=4, col.ticks=4)
Sometimes, the same material is measured using multiple radiocarbon dates. If we can be sure that the dated material stems from one single age in time (e.g., multiple dates on the same single bone, or perhaps the cereal grains within one bowl which could be assumed to all stem from the same season), then we can check to which degree the dates agree using a Chi2-test (Ward & Wilson 1978)5. If they do agree, then a pooled mean can be calculated. For example, take the Shroud of Turin, which was dated multiple times in three different labs:
## ID y er
## 1 AA-3367.1 591 30
## 2 AA-3367.2 690 35
## 3 AA-3367.3 606 41
## 4 AA-3367.4 701 33
## 5 Ox-2575.1 795 65
## 6 Ox-2575.2 730 45
## 7 Ox-2575.3 745 55
## 8 ETH-3883.1 733 61
## 9 ETH-3883.2 722 56
## 10 ETH-3883.3 635 57
## 11 ETH-3883.4 639 45
## 12 ETH-3883.5 679 51
## ! Scatter too large to calculate the pooled mean
## Chisq value: 20.697, p-value 0.037 < 0.05
## pooled mean: 676.1 +- 23.7
## Chi2: 2.74476177594226, p-value 0.601 (>0.05, OK)
## [1] 676.1406 23.7443
If it can indeed be safely assumed that all dates stem from the same (unknown) calendar year, then the age distribution of that single year can be plotted together with the individual calibrated ages:
## point estimates (mean, median, mode and midpoint): 630, 652, 653 & 618 cal BP
## 95% hpd ranges: 666-647 (65%), 582-571 (29%)
It would however often be much safer to assume that the multiple dates were deposited over not just one calendar year but rather over a period, e.g., over 50 years. To do so, a moving bin is made, and for each bin placement it is checked how much of the calibrated distribution of each date fits within that bin. Here is an example, using a bin width of 50 years, moving at 10 year steps (the top value indicates that around 660 cal BP, a total of around 4-5 dates fit within the 50-year bin):
## Most likely bin: 660 (685-635 cal BP), fitting a sum of 4.7 dates
## point estimates (mean, median, mode and midpoint): 641, 640, 660 & 638 cal BP
## 95% hpd ranges: 743-534 (95%)
The spread of multiple calibrated dates can be visualised and summarised:
## average spread: 65.8 calendar years (median 56.5)
## 95% range: 2.3 to 188
To calculate the effect of contamination on radiocarbon ages, e.g. what age would be observed if material with a “true” radiocarbon age of 5000 +- 20 14C BP would be contaminated with 10% of modern carbon (F14C=1)?
## True age as F14C: 0.53664 +- 0.00134
## Observed F14C: (0.9*0.53664) + (0.1*1) = 0.58298 +- 0.00134
## Observed C14 age: 4334.7 +- 18.389
Or imagine that you measured a dinosaur bone, dating to far beyond the limit of radiocarbon dating, and the sample is very clean as it contains only 0.5% modern contamination:
## True age as F14C: 0 +- 0
## Observed F14C: (0.995*0) + (0.005*1) = 0.005 +- 0
## Observed C14 age: 42561 +- 0
The other way round, e.g., inferring what would happen to an observed age if its assumed 10% modern contamination were to be removed:
## Observed age as F14C: 0.32616 +- 0.00406
## True F14C: (0.9*0.32616) - (0.1*1) = 0.25129 +- 0.00406
## True C14 age: 11095 +- 128.76
We can also calculate the amount of contamination, or muck, required to ‘explain away’ certain ages. For example, one of the measurements of the Shroud of Turin dates to 591 ± 30 C14 BP. How much modern contamination would have to be inferred for the material to really date to, say, AD 40?
## Observed age: 591 C14 BP (0.929 F14C)
## Target age: 1970 C14 BP (0.783 F14C)
## Calculation: (0.929-0.783)/(1 - 0.783) = 0.67386
## Contamination required: 67.386%
So we’d require the sample to have been contaminated by 67% modern carbon to still date to around AD 40. But what if the sample had been repaired in, say, AD 1400, thus adding material of an not-entirely-modern F14C value (i.e., taking into account both the atmospheric C14 concentrations in AD 1400 and the fact that some of the C14 will have decayed since then)?
## Observed age: 591 C14 BP (0.929 F14C)
## Target age: 1970 C14 BP (0.783 F14C)
## Calculation: (0.929-0.783)/(0.93173 - 0.783) = 0.98217
## Contamination required: 98.217%
This means that the dated sample would have to consist almost entirely of Medieval age material - which is exactly what was found by Damon et al. (1989)6.
The effect of different levels of contamination can be visualised:
real.14C <- seq(0, 50e3, length=200)
contam <- seq(0, 10, length=101) # 0 to 10% contamination
contam.col <- rainbow(length(contam))
plot(0, type="n", xlim=c(0, 55e3), xlab="real 14C age", ylim=range(real.14C), ylab="observed 14C age")
for (i in 1:length(contam)) {
observed <- contaminate(real.14C, 0, contam[i], 1, decimals=5, talk=FALSE)
lines(real.14C, observed[,1], col = contam.col[i])
}
contam.legend <- seq(0, 10, length=6)
contam.col <- rainbow(length(contam.legend)-1)
text(50e3, contaminate(50e3, 0, contam.legend, 1, visualise=FALSE, talk=FALSE)[,1],
labels=contam.legend, cex=.7, offset=0, adj=c(0,.8))
If that is too much code for you, try this function instead:
Sometimes, one needs to estimate a missing radiocarbon age from a sample which has C14 dates on both the entire sample and on fractions, but where one of the samples was too small to be dated. This can be used in for example soils separated into size fractions, or samples dated using both bulk and humic/humin fractions, where one of the samples turns out to be too small to be dated. This equation requires the bulk age, the ages of the dated fractions, and the carbon contents and weights of all fractions.
Cs <- c(.02, .05, .03, .04) # carbon contents of each fraction
wghts <- c(5, 4, 2, .5) # weights for all fractions, e.g., in mg
ages <- c(130, 130, 130, NA) # ages of all fractions. The unmeasured one is NA
errors <- c(10, 12, 10, NA) # errors, unmeasured is NA
fractions(150, 20, Cs, wghts, ages, errors) # assuming a bulk age of 150 +- 20 C14 BP
## estimated C14 age of fraction 4: 519.3 +- 437
Now on to calibration of radiocarbon dates. We can obtain the calibrated probability distributions from radiocarbon dates, e.g., one of 130 ± 10 C14 BP:
It is also possible to find the likelihood of a single calendar year for our radiocarbon age, e.g., 145 cal BP:
## [1] 0.0052052
For reporting purposes, calibrated dates are often reduced to their 95% highest posterior density (hpd) ranges (please report all, not just your favourite one!):
## from to perc
## [1,] 1927 1906 14.8
## [2,] 1892 1832 50.8
## [3,] 1823 1804 8.2
## [4,] 1758 1758 0.1
## [5,] 1732 1719 8.1
## [6,] 1710 1685 12.9
Additionally, calibrated dates are often reduced to single point estimates. Note however how poor representations they are of the entire calibrated distribution!
calib.2450 <- caldist(2450, 20)
plot(calib.2450, type="l")
points.2450 <- point.estimates(calib.2450)
points.2450
## weighted mean median mode midpoint
## 2539.9 2512.2 2666.0 2531.5
Want a plot of the radiocarbon and calibrated distributions, together with their hpd ranges?
Sometimes one would want to smooth a calibration curve to take into account the fact that material has accumulated over a certain time (e.g., a tree, or peat). To do so, a calibration curve can be smoothed to produce a tailor-made calibration curve, after which this one is used to calibrate the date:
Calibrating ‘young’ radiocarbon dates (close to 0 C14 BP) can cause an error, because a bomb curve might be required to capture the youngest ages. Do not worry, there is an option to avoid that error:
## Error in calibrate(130, 30) :
## This appears to be a postbomb age (or is close to being one). Please provide a postbomb curve
## Date falls partly beyond calibration curve and will be truncated!
It is also possible to analyse the calibrated probability distributions, e.g. what is the probability (between 0 and 1) that the date stems from material that is of the age of 150 cal BP or younger? Or that it is older than that age?
## [1] 0.7669044
## [1] 0.2330956
Dates on marine material will often have to be calibrated with the Marine20 calibration curve7, and many coastal locations will have an additional regional reservoir offset (deltaR) (Reimer and Reimer 2006)8. The on-line database at http://calib.org/marine/ is very useful for this; it features the radiocarbon ages and deltaR of many shells of known collection date. The data from this database were downloaded (in August 2024) and can be queried. For example, a map can be drawn with all shell data within certain coordinates:
The output can also be queried:
## lon lat no taxonN dR dSTD collected res res.error C14 er lab
## 430 -3.15 55.97 524 146 -141 57 1851 386 58 511 57 SRR-1818
## 433 -5.00 54.17 527 125 -180 47 1890 334 47 444 47 SRR-1821a
## 434 -5.00 54.17 528 125 -129 63 1890 385 64 495 63 SRR-1821b
## 435 -6.00 55.83 529 48 -224 46 1890 290 46 400 46 SRR-1822a
## 436 -6.00 55.83 530 48 -233 52 1890 281 52 391 52 SRR-1822b
## 437 -5.33 57.83 531 90 -171 29 1900 346 30 442 29 SRR-357a
## ref
## 430 Harkness, D D,, 1983. The extent of the natural 14C deficiency in the coastal environment of the United Kingdom,. Journal of the European Study Group on Physical, Chemical and Mathematical Techniques Applied to Archaeology PACT 8 (IV.9):351-364.
## 433 Harkness, D D,, 1983. The extent of the natural 14C deficiency in the coastal environment of the United Kingdom,. Journal of the European Study Group on Physical, Chemical and Mathematical Techniques Applied to Archaeology PACT 8 (IV.9):351-364.
## 434 Harkness, D D,, 1983. The extent of the natural 14C deficiency in the coastal environment of the United Kingdom,. Journal of the European Study Group on Physical, Chemical and Mathematical Techniques Applied to Archaeology PACT 8 (IV.9):351-364.
## 435 Harkness, D D,, 1983. The extent of the natural 14C deficiency in the coastal environment of the United Kingdom,. Journal of the European Study Group on Physical, Chemical and Mathematical Techniques Applied to Archaeology PACT 8 (IV.9):351-364.
## 436 Harkness, D D,, 1983. The extent of the natural 14C deficiency in the coastal environment of the United Kingdom,. Journal of the European Study Group on Physical, Chemical and Mathematical Techniques Applied to Archaeology PACT 8 (IV.9):351-364.
## 437 Harkness, D D,, 1983. The extent of the natural 14C deficiency in the coastal environment of the United Kingdom,. Journal of the European Study Group on Physical, Chemical and Mathematical Techniques Applied to Archaeology PACT 8 (IV.9):351-364.
## taxon feeding
## 430 Crassostrea virginica suspension
## 433 Crassostrea virginica suspension
## 434 Crassostrea virginica suspension
## 435 Crassostrea virginica suspension
## 436 Crassostrea virginica suspension
## 437 Crassostrea virginica suspension
## wmean -143.4, error is max of weighted uncertainty (5.3) & sdev (58.3): 58.3
## [1] -143.4 58.3
You can also extract say the 20 shells closest to a coordinate, e.g., 120 East and 10 North:
## wmean -120.9, error is max of weighted uncertainty (8.4) & sdev (57.4): 57.4
## [1] -120.9 57.4
You can also draw one or more calibrated distributions:
set.seed(123)
dates <- sort(sample(500:2500,5))
errors <- .05*dates
depths <- 1:length(dates)
my.labels <- c("my", "very", "own", "simulated", "dates")
draw.dates(dates, errors, depths, BCAD=TRUE, labels=my.labels, age.lim=c(0, 1800))
or add them to an existing plot:
plot(300*1:5, 5:1, xlim=c(0, 1800), ylim=c(5,0), xlab="AD", ylab="dates")
draw.dates(dates, errors, depths, BCAD=TRUE, add=TRUE, labels=my.labels, mirror=FALSE)
or get creative (inspired by Jocelyn Bell Burnell9, Joy Division10 and the Hallstatt Plateau11):
Stuiver, R., Polach, H.A., 1977. Discussion: reporting of 14C data. Radiocarbon 19, 355-363 http://dx.doi.org/10.1017/S0033822200003672↩︎
Reimer, P.J., Brown, T.A., Reimer, R.W., 2004. Discussion: reporting and calibration of post-bomb 14C Data. Radiocarbon 46, 1299-1304 http://dx.doi.org/10.1017/S0033822200033154↩︎
Millard, R., 2014. Conventions for reporting radiocarbon determinations. Radiocarbon 56, 555-559 http://dx.doi.org/10.2458/56.17455↩︎
Reimer, P.J., et al., 2020. The IntCal20 Northern Hemisphere radiocarbon age calibration curve (0-55 cal kBP). Radiocarbon 62, 725-757 http://dx.doi.org/10.1017/S0033822200032999↩︎
Ward, G.K., Wilson, S., 1978. Procedures for comparing and combining radiocarbon age determinations: A critique. Archaeometry 20, 19-31 http://dx.doi.org/10.1111/j.1475-4754.1978.tb00208.x↩︎
Damon, P., et al., 1989. Radiocarbon dating of the Shroud of Turin. Nature 337, 611–615. https://doi.org/10.1038/337611a0↩︎
Heaton, T.J., et al., 2020. Marine20-the marine radiocarbon age calibration curve (0-55,000 cal BP). Radiocarbon 62, 779-820 http://dx.doi.org/10.1017/RDC.2020.68↩︎
Reimer, P.J., Reimer, R.W., 2006. A marine reservoir correction database and on-line interface. Radiocarbon 43, 461-463. http://dx.doi.org/10.1017/S0033822200038339↩︎
https://www.radiox.co.uk/artists/joy-division/cover-joy-division-unknown-pleasures-meaning/↩︎