calBPtoC14 {rice} | R Documentation |
Find the 14C age and error belonging to a cal BP age.
Description
Given a calendar age, the calibration curve (default cc=1) is interpolated and the corresponding 14C age and error are returned.
Usage
calBPtoC14(
x,
cc = 1,
postbomb = FALSE,
rule = 1,
cc.dir = NULL,
thiscurve = NULL
)
Arguments
x |
The cal BP year. |
cc |
calibration curve for C14 (see |
postbomb |
Whether or not to use a postbomb curve (see |
rule |
How should R's approx function deal with extrapolation. If |
cc.dir |
Directory of the calibration curves. Defaults to where the package's files are stored (system.file), but can be set to, e.g., |
thiscurve |
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). |
Details
Interpolation is used, and values outside the calibration curve are given as NA. For negative cal BP ages, a postbomb curve will have to be provided.
Value
The calibration-curve 14C year belonging to the entered cal BP age
Author(s)
Maarten Blaauw
Examples
calBPtoC14(100)