View source: R/c14_calibrate.R
c14_calibrate | R Documentation |
Transforms 'raw' radiocarbon ages into a calendar probability distribution using a calibration curve.
c14_calibrate(
c14_age,
c14_error,
...,
engine = c("intcal", "rcarbon", "oxcal", "bchron"),
min_pdens = 1e-05
)
c14_age |
Vector of uncalibrated radiocarbon ages. |
c14_error |
Vector of standard errors associated with |
... |
Optional arguments passed to calibration function (see below). |
engine |
Method to use for calibration. The default (
|
min_pdens |
Minimum probability density threshold below which ages are
excluded from the result. Set to |
c14_age
and c14_error
are recycled to a common length.
Parallelisation is supported for engines "intcal"
and "rcarbon"
and can
dramatically speed up calibration of large numbers of dates. For "intcal"
,
it must first be enabled with future::plan()
. For "rcarbon"
, it requires
the doSNOW
package and can be controlled with the ncores
argument of
rcarbon::calibrate()
.
A list of cal
objects.
c14_calibrate(1000, 30)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.