Skip to contents

ASTR objects

Functions for creating and handling ASTR objects.

Data subsetting

Pre-compiled lists for easier subsetting of data

isotopes_data
Isotopes
elements_data
Chemical elements
oxides_data
Oxides
special_oxide_states
Special oxide states

Unit conversions

Functions and data tables for conversions between untis not covered in {units}

wt_to_at() at_to_wt()
Conversion between wt% and at%
element_to_oxide() oxide_to_element()
Oxide conversion functions
conversion_oxides
Conversion factors from oxides to elements

Calculations, Classifications, Statistics

Functions for data transformation

copper_alloy_bb()
Copper alloy classification according to Bayley & Butcher (2004)
copper_alloy_pollard()
Copper alloy classification according to Pollard et al. (2015).
copper_group_bray()
Copper classification according to Bray et al. (2015)
pb_iso_age_model() stacey_kramers_1975() cumming_richards_1975() albarede_juteau_1984()
Calculate lead isotope age models
amalia()
AMALIA algorithm for matching of sample and reference lead isotope data
pointcloud_distribution()
Comparing isotope samples to reference data in 3D space

Visualisation

Functions for plotting data

geom_kde2d()
Draw 2D kernel density estimate polygons by quantiles
geom_sk_lines() geom_sk_labels()
Lead Evolution Geom for Stacey & Kramers (1975)

Data

Datasets included in the package

ArgentinaDatabase
Lead isotope data from Argentina
GlobaLID_ASTR
GlobaLID lead isotope database
tel_dor
LIA points of silver hoard from Tell Dor (Israel)

Machine Learning & Provenance Analsis

ML classifier training, and proveanceing of samples using eucldian distance and ML probalities.

as_pbiso_ref_data()
Create reference data object for LIA endmember distance and probability estimation functions. Data preprocessing and cleaning ensure the reliability and accuracy of provenance analysis. This step results in the removal of all NA values from the selected isotope tables and groups. The step should also exclude groups with a low number samples (in the case of Shnyr et al. (2026), this was 5).
pb_iso_train_data()
Train XGBoost model
pb_iso_prov_predict()
Predict isotope provenance
pb_iso_prov_dist() euc_dist() mf_dist()
Euclidean distance for Pb isotope ratios to ore sources
pb_iso_endmembers()
Find endmembers from a list of lead isotope data points.