Combine all calibrated dates by calculating their product for a range of calendar ages, as if all dates belonged to the same (unknown) single calendar age. This assumed that they all belong to the same single year in time. Use with great care, as often dates could stem from material that could have accumulated over a (much) longer time-span, and if so, then the result will be wrong. See Baillie (1991)'s 'suck-in' effect, Journal of Theoretical Archaeology 2, 12-16.
as.one(
y,
er,
cc = 1,
postbomb = FALSE,
deltaR = 0,
deltaSTD = 0,
is.F = FALSE,
as.F = FALSE,
thiscurve = NULL,
yrsteps = 1,
threshold = 0.001,
normal = TRUE,
t.a = 3,
t.b = 4,
BCAD = FALSE,
cc.dir = NULL,
age.lim = c(),
age.lab = c(),
d.lim = c(),
calib.col = rgb(0, 0, 0, 0.2),
one.col = rgb(0, 0, 1, 0.5),
one.height = 0.3,
prob = 0.95,
talk = TRUE,
roundby = 0,
bty = "n"
)
The product of all calibrated probabilities over the range of cal BP years.
The set of radiocarbon dates to be tested
The lab errors of the radiocarbon dates
Calibration curve to use. Defaults to IntCal20 (cc=1
).
Whether or not to use a postbomb curve. Required for negative radiocarbon ages.
Age offset (e.g. for marine samples).
Uncertainty of the age offset (1 standard deviation).
Set this to TRUE if the provided age and error are in the F14C realm.
Whether or not to calculate ages in the F14C realm. Defaults to as.F=FALSE
, which uses the C14 realm.
As an alternative to providing cc and/or postbomb, the data of a specific curve can be provided (3 columns: cal BP, C14 age, error).
Steps to use for interpolation. Defaults to the cal BP steps in the calibration curve
Report only values above a threshold. Defaults to threshold=1e-6
.
Use the normal distribution to calibrate dates (default TRUE). The alternative is to use the t model (Christen and Perez 2016).
Value a of the t distribution (defaults to 3).
Value b of the t distribution (defaults to 4).
Which calendar scale to use. Defaults to cal BP, BCAD=FALSE
.
Directory of the calibration curves. Defaults to where the package's files are stored (system.file), but can be set to, e.g., cc.dir="curves"
.
Limits of the age axis. Calculated automatically by default.
Label of the age axis. Defaults to cal BP or BC/AD.
Limits of the depth/vertical axis. Calculated automatically by default.
The colour of the individual calibrated ages. Defaults to semi-transparent grey.
The colour of the combined
The height of the combined distribution
Probability range for highest posterior density (hpd) values. Defaults to prob=0.95
.
Whether or not to provide an analysis of the results
Rounding of reported years. Defaults to 0 decimals
Draw a box around a box of a certain shape. Defaults to bty="n"
.
Maarten Blaauw
This calculates the product of all calibrated probabilities, over the range of calendar ages to which the radiocarbon ages calibrate.
data(shroud)
as.one(shroud$y,shroud$er, BCAD=TRUE) # but note the scatter!
Zu <- grep("ETH", shroud$ID) # Zurich lab only
as.one(shroud$y[Zu],shroud$er[Zu], BCAD=TRUE)
Run the code above in your browser using DataLab