b2ktoDelta14C: Find the Delta14C and error belonging to a b2k age.

b2ktoDelta14CR Documentation

Find the Delta14C and error belonging to a b2k age.

Description

Given a b2k age (years before AD 2000, popular in the ice core community), the calibration curve (default cc=1) is interpolated and the corresponding Delta14C value and error are returned.

Usage

b2ktoDelta14C(
  x,
  cc = 1,
  postbomb = FALSE,
  rule = 1,
  cc.dir = NULL,
  thiscurve = NULL,
  roundby = NA
)

Arguments

x

The b2k year.

cc

calibration curve (see caldist()).

postbomb

Whether or not to use a postbomb curve (see caldist()).

rule

How should R's approx function deal with extrapolation. If rule=1, the default, then NAs are returned for such points and if it is 2, the value at the closest data extreme is used.

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., cc.dir="curves".

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).

roundby

Amount of decimals required for the output. Defaults to roundby=NA, no rounding.

Details

Interpolation is used, and values outside the calibration curve are given as NA. For b2k < 50, a postbomb curve will have to be provided.

Value

The calibration-curve 14C year belonging to the entered b2k age

Author(s)

Maarten Blaauw

Examples

  b2ktoDelta14C(100)

rice documentation built on Sept. 9, 2025, 5:42 p.m.