Skip to contents

Fits a saturating exponential (modern ~ L + A * exp(-k * (year - year.start.fit))) to the observed modern (percent modern carbon) series from year.start.fit onward, and appends predicted values for year.start.predict:year.end.predict – used to extend the radiocarbon-ageing reference table (data_in/radio_carbon.csv) beyond its last observed year, for .dat files that simulate past that point.

Usage

f.predict.radio.carbon(
  df.modern,
  year.start.predict = 2008,
  year.end.predict = 2050,
  year.start.fit = 1964
)

Arguments

df.modern

Data frame with at least year and modern columns (percent modern carbon), e.g. read.csv("data_in/radio_carbon.csv").

year.start.predict, year.end.predict

Range of years to append predictions for.

year.start.fit

First year of df.modern used to fit the model (earlier, noisier years are excluded from the fit).

Value

df.modern with the predicted rows (year, modern) bound to the end.