Learn R Programming

PoolDilutionR (version 1.0.0)

pdr_estimate_k0: Estimate initial k from heavy isotope concentration data

Description

Estimate initial k from heavy isotope concentration data

Usage

pdr_estimate_k0(time, n, frac_k, quiet = FALSE)

Value

Initial estimate of k0 (consumption rate constant)

Arguments

time

Vector of numeric time values (e.g. days); first should be zero

n

Observed heavy isotope (as a volume), same length as time

frac_k

Fractionation: 13C consumption as a fraction of 12C consumption

quiet

Suppress output message, logical

Examples

Run this code
pdr_estimate_k0(1:5, c(1, 0.9, 0.7, 0.65, 0.4), frac_k = 0.98)

Run the code above in your browser using DataLab