calc_calib_curve_frac_modern: Calculation the calibration curve fraction modern value for...

View source: R/radiocarbon_functions.R

calc_calib_curve_frac_modernR Documentation

Calculation the calibration curve fraction modern value for the input calendar dates.

Description

The input calibration data frame has three columns: year_BP, uncal_year_BP, and uncal_year_BP_error. For each input calendar date, tau, use the calibration curve information to estimate the fraction modern of the calibration curve. If tau is not specified, calib_df$uncal_year_BP is used as the dates for the calculation. By default, dates are assumed to be AD (more precisely: 1950 - years BP), but this can be changed using the optional input is_BP, which is FALSE by default.

Usage

calc_calib_curve_frac_modern(calib_df, tau = NA, is_BP = FALSE)

Arguments

calib_df

The calibration data frame, with columns year_BP, uncal_year_BP, and uncal_year_BP_error.

tau

The calendar dates tau (if not input, calib_df$uncal_year_BP is used).

is_BP

Whether the input dates are before present (BP), as opposed to AD (default: FALSE).

Value

The vector of calibration curve fraction modern values

See Also

load_calib_curve() for the format of calib_df'


eehh-stanford/baydem documentation built on June 3, 2024, 5:46 p.m.