quickcalibrate: quickcalibrate

View source: R/quickcalibrate.R

quickcalibrateR Documentation

quickcalibrate

Description

Get values for the .janno file columns Date_BC_AD_Median, Date_BC_AD_Start and Date_BC_AD_Stop from radiocarbon ages with mean and sd. Uses Bchron for the calibration.

Usage

quickcalibrate(ages, sds, cal_curves = rep("intcal20", length(ages)), ...)

Arguments

ages

list. List of one or multiple radiocarbon date ages BP (e.g. list(3000) or list(2000, c(2000, 2300, 2100)))

sds

list. One or multiple standard deviations (±1 sigma) (e.g. list(30) or list(20, c(20, 30, 70)))

cal_curves

character vector. Calibration curves to be used for the calibration. See the argument calCurves for BchronCalibrate

...

additional arguments are passed to BchronCalibrate (will not work for the dfs argument and multiple dates)

Examples

quickcalibrate(
  ages = list(c(3000,3100), 4000), 
  sds = list(c(100,30), 50),
  cal_curves = c("shcal20", "intcal20")
)


poseidon-framework/anno2janno documentation built on March 15, 2024, 4:30 a.m.