pdr_predict | R Documentation |
Predict total pool, heavy isotope pool, and atom percent
pdr_predict( time, m0, n0, P, k, pool = "CH4", frac_P = frac_P_default(pool), frac_k = frac_k_default(pool) )
time |
Vector of numeric time values (e.g. days); first should be zero |
m0 |
total pool size at time zero, as a volume |
n0 |
pool size of heavy isotope at time zero, as a volume |
P |
production rate, unit gas/unit time |
k |
first-order rate constant for consumption, 1/unit time |
pool |
Name of pool; see |
frac_P |
Fractionation value for production; see |
frac_k |
Fractionation value for consumption; see |
Returns a data frame with mt
, nt
, and AP_pred
(atom percent) for each time step
This is Eq. 11 from von Fischer and Hedin 2002 with a few modifications.
K.A. Morris & B. Bond-Lamberty
pdr_predict(time = 0:5, m0 = 10, n0 = 1, P = 0.5, k = 0.3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.