Learn R Programming

SoilR (version 1.1-23)

bind.C14curves: Binding of pre- and post-bomb Delta14C curves

Description

This function takes a pre- and a post-bomb curve, binds them together, and reports the results back either in years BP or AD.

Usage

bind.C14curves(prebomb, postbomb, time.scale)

Arguments

prebomb
A pre-bomb radiocarbon dataset. They could be either IntCal09 or IntCal13.
postbomb
A post-bomb radiocarbon dataset. They could be any of the datasets in Hua2013.
time.scale
A character indicating whether to report the results in years before present BP or anno domini AD.

Value

data.frame with 3 columns: years in AD or BP, the atmospheric Delta14C value, the standard deviation of the Delta14C value.

Examples

Run this code
#Bind the IntCal13 dataset and Hua2013 for the NH Zone 1
bp=bind.C14curves(prebomb=IntCal13,postbomb=Hua2013$NHZone1,time.scale="BP")

plot(bp[,1:2],type="l")
plot(bp[,1:2],type="l",xlim=c(-100,100))

#Report results in years AD
ad=bind.C14curves(prebomb=IntCal13,postbomb=Hua2013$NHZone1,time.scale="AD")

plot(ad[,1:2],type="l")
plot(ad[,1:2],type="l",xlim=c(0,2010))
abline(v=1950,lty=2)

Run the code above in your browser using DataLab