mixCurves | R Documentation |
Function for generating mixed calibration curves (e.g. intcal20/marine20, intcal20/shcal20) with user-defined proportions.
mixCurves(
calCurve1 = "intcal20",
calCurve2 = "marine20",
p = 0.5,
resOffsets = 0,
resErrors = 0
)
calCurve1 |
Name of the first curve, chosen from 'intcal20','intcal13','intcal13nhpine16','shcal20','shcal13','shcal13shkauri16',ā€¯marine13','marine20'. Default is 'intcal20'. |
calCurve2 |
Name of the second curve, from the same list. Default is 'marine20'. |
p |
The proportion of contribution of the first curve. Default is 1. |
resOffsets |
Offset value for the marine reservoir effect to be applied to calCurve2. Default is 0. |
resErrors |
Error of the marine reservoir effect offset to be applied to calCurve2. Default is 0. |
The function is based on the mix.calibrationcurves
function of the clam
package.
A three-column matrix containing calibrated year BP, uncalibrated age bp, and standard deviation. To be used as custom calibration curve for the calibrate
function.
Blaauw, M. and Christen, J.A.. 2011. Flexible paleoclimate age-depth models using an autoregressive gamma process. Bayesian Analysis, 6, 457-474. Blaauw, M. 2018. clam: Classical Age-Depth Modelling of Cores from Deposits. R package version 2.3.1. https://CRAN.R-project.org/packacge=clam Marsh, E.J., Bruno, M.C., Fritz, S.C., Baker, P., Capriles, J.M. and Hastorf, C.A., 2018. IntCal, SHCal, or a Mixed Curve? Choosing a 14 C Calibration Curve for Archaeological and Paleoenvironmental Records from Tropical South America. Radiocarbon, 60(3), pp.925-940.
calibrate
myCurve <- mixCurves('intcal20','marine20',p=0.7,resOffsets=300,resErrors=20)
x <- calibrate(4000,30,calCurves=myCurve)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.