Skip to contents

Inversion

Reconstruct d2H_precip from leaf-wax d2H_wax.

invert_d2h() invert_d2H()
Invert leaf wax d2H to precipitation d2H
invert_d2H_ensemble()
Ensemble predictions across multiple models

Paleo-record workflow

Local slope, change detection, claim taxonomy.

local_effective_slope()
Local effective slope at a paleo-reconstruction site
estimate_temporal_autocorrelation()
Estimate lag-1 temporal autocorrelation
detect_change()
Within-record d2H_precip change detection
assess_claim()
Assess a paleoclimate claim against the leaf-wax taxonomy

Models

Routing and metadata for the 14 v10 model variants.

available_models()
Get available models
get_all_model_metadata()
Get all model metadata
get_model_info()
Get model info
list_models()
List available models with details
load_posteriors()
Load posterior draws for a model
select_best_model_from_flags()
Select best model based on available data

Datasets

example_data
Example leaf wax hydrogen isotope data

Lower-level helpers

Internal-style exports (data caching, batch processing, validation) and the lower-level invert_d2h() function. Most users will not call these directly.

invert_d2h() invert_d2H()
Invert leaf wax d2H to precipitation d2H
batch_predict()
Batch predict precipitation d2H for multiple sites
predict_d2h_precip()
Predict precipitation d2H from leaf wax d2H
validate_inputs()
Validate input data for inversion
validate_model_inputs()
Validate inputs for a specific model
get_model_parameters()
Get model parameters
detect_model_capabilities()
Detect model capabilities from static v10 metadata
list_model_names()
List model names
leafwax_config()
Get leafwax configuration
leafwax_set_config()
Set leafwax configuration
compare_models()
Compare predictions across multiple models
generate_fibonacci_sphere()
Generate Fibonacci sphere points
predict_spatial_dual_gp()
Predict both spatial intercept and spatial slope at new locations
predict_one_gp_mpp()
Predict an mPP Gaussian-process random effect at a new location
download_model_data()
Download model data from GitHub releases
check_data_cache()
Check if model data exists in cache
clear_download_cache()
Clear download cache
get_cache_dir()
Get leafwax data cache directory
get_cache_info()
Get cache size information
get_data_path()
Get path to data file
get_data_url()
Get data download URLs
list_cached_models()
List available models in cache
download_with_progress()
Download file with progress bar
generate_model_description()
Generate human-readable model description
get_cache_files()
Get cache files for a model
get_data_manifest()
Get data manifest
get_url_config()
Get URL configuration
process_parallel()
Process chunks in parallel
process_sequential()
Process chunks sequentially with progress bar

S3 print methods

Pretty-printing for the package’s own S3 classes.

print(<leafwax_posterior>)
Print method for leafwax_posterior

Package

leafwax leafwax-package
leafwax: Bayesian Calibration of Leaf Wax Hydrogen Isotope Reconstructions