leafwax - Bayesian Inversion of Leaf Wax Hydrogen Isotopes to
Precipitation
Bayesian inversion of leaf wax hydrogen isotopes to
reconstruct precipitation isotopes using hierarchical spatial
models. Provides fourteen Bayesian models that vary in their
use of spatial Gaussian processes and ancillary covariates
(precipitation amount, plant functional type, C4 fraction).
Models are pre-computed using 'Stan' and stored as posterior
distributions, so prediction does not require 'Stan' to be
installed. A 100-draw fixture ships with the package; full
1000-draw posteriors are downloaded from a versioned 'Zenodo'
deposit on first use; see Bradley (2026)
<doi:10.5281/zenodo.20085465>.