ISRaD.extra.fill_rc: ISRaD.extra.fill_14c

View source: R/ISRaD.extra.fill_rc.R

ISRaD.extra.fill_rcR Documentation

ISRaD.extra.fill_14c

Description

Fills delta 14c or fraction modern data if either are missing

Usage

ISRaD.extra.fill_rc(database)

Arguments

database

ISRaD dataset object.

Details

Warning: xxx_obs_date_y columns must be filled for this to work! This function also fills standard deviation and sigma values. Note that this function replaces two older functions ("ISRaD.extra.fill_fm" and "ISRaD.extra.fill_14c") from ISRaD v1.0 that did not work properly.

Value

ISRaD_data object with filled radiocarbon data columns in all tables

Author(s)

J. Beem-Miller & A. Hoyt

References

Stuiver and Polach, 1977

Examples

# Load example dataset Gaudinski_2001
database <- ISRaD::Gaudinski_2001
# Note that some flx_14c values are NA
is.na(database$flux$flx_14c)
is.na(database$layer$lyr_14c)
# Fill dates
database.x <- ISRaD.extra.fill_dates(database)
# Fill rc values
database.x <- ISRaD.extra.fill_rc(database.x)
# Missing radiocarbon data has now been filled if possible, e.g. column flx_14c in the "flux" table
is.na(database$flux$flx_14c)

ISRaD documentation built on Sept. 21, 2023, 9:06 a.m.