turnoverFit {SoilR} | R Documentation |
This function finds two possible values of turnover time from radiocarbon sample assuming a one pool model with carbon at equilibrium.
turnoverFit(obsC14, obsyr, yr0, Fatm, plot = TRUE, by = 0.5)
obsC14 |
a scalar with the observed radiocarbon value in Delta14C |
obsyr |
a scalar with the year in which the sample was taken. |
yr0 |
The year at which simulations will start. |
Fatm |
an atmospheric radiocarbon curve as data.frame. First column must be time. |
plot |
logical. Should the function produce a plot? |
by |
numeric. The increment of the sequence of years used in the simulations. |
This algorithm takes an observed radiocarbon value and
runs OnepModel14
, calculates the squared difference
between predictions and observations, and uses optimize
to
find the minimum difference.
A numeric vector with two values of the turnover time that minimize the difference between the prediction of a one pool model and the observed radiocarbon value.