View source: R/c14_date_list_calibrate.R
calibrate | R Documentation |
Calibrate all dates in a c14_date_list with
Bchron::BchronCalibrate()
. The function provides two different
kinds of output variables that are added as new list columns to the input
c14_date_list: calprobdistr and calrange.
calrange is accompanied by sigma. See
?Bchron::BchronCalibrate
and ?c14bazAAR:::hdr
for some more
information.
calprobdistr: The probability distribution of the individual date
for all ages with an individual probability >= 1e-06. For each date there's
a data.frame with the columns calage and density.
calrange: The contiguous ranges which cover the probability interval
requested for the individual date. For each date there's a data.frame with the
columns dens and from and to.
calibrate(
x,
choices = c("calrange"),
sigma = 2,
calCurves = rep("intcal20", nrow(x)),
...
)
## Default S3 method:
calibrate(
x,
choices = c("calrange"),
sigma = 2,
calCurves = rep("intcal20", nrow(x)),
...
)
## S3 method for class 'c14_date_list'
calibrate(
x,
choices = c("calrange"),
sigma = 2,
calCurves = rep("intcal20", nrow(x)),
...
)
x |
an object of class c14_date_list |
choices |
whether the result should include the full calibrated probability dataframe ('calprobdistr') or the sigma range ('calrange'). Both arguments may be given at the same time. |
sigma |
the desired sigma value (1,2,3) for the calibrated sigma ranges |
calCurves |
a vector of values containing either intcal20, shcal20, marine20, or normal (older calibration curves are supposed such as intcal13). Should be the same length the number of ages supplied. See BchronCalibrate for more information |
... |
passed to BchronCalibrate |
an object of class c14_date_list with the additional columns calprobdistr or calrange and sigma
calibrate(
example_c14_date_list,
choices = c("calprobdistr", "calrange"),
sigma = 1
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.