glue.ccurves: Glue calibration curves

View source: R/rintcal.R

glue.ccurvesR Documentation

Glue calibration curves

Description

Produce a custom curve by merging two calibration curves, e.g. a prebomb and a postbomb one for dates which straddle both curves.

Usage

glue.ccurves(
  prebomb = "IntCal20",
  postbomb = "NH1",
  thisprebombcurve = c(),
  thispostbombcurve = c(),
  as.F = FALSE,
  cc.dir = c(),
  decimals = 8
)

Arguments

prebomb

The prebomb curve. Defaults to "IntCal20"

postbomb

The postbomb curve. Defaults to "NH1" (Hua et al. 2013)

thisprebombcurve

As an alternative to using existing curves, a tailor-made curve can be provided for the prebomb curve (as three columns: cal BP, C14 age, error)

thispostbombcurve

As an alternative to using existing curves, a tailor-made curve can be provided for the postbomb curve (as three columns: cal BP, C14 age, error)

as.F

The glued curve can be returned as F14C values instead of the default C14. Make sure that if as.F=TRUE and you are using thisprebombcurve and/or thispostbombcurve, that these curves are in F14C space already.

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="ccurves".

decimals

Number of decimals to report when as.F=TRUE. Defaults to 5.

Value

The custom-made curve (invisibly)

Examples

my.cc <- glue.ccurves()

Maarten14C/IntCal documentation built on April 13, 2025, 8:50 p.m.