Skip to contents

A dated record is rarely certain to belong to one climate time slice: its age has an error, and a radiocarbon age becomes an irregular calendar-age distribution after calibration. age_slice_weights() gives, for every record, the probability that its true age falls in each slice, to be used as weight in temporal_validation() so that each plausible slice counts by how likely it is (rather than a single slice, or all slices of a bin equally).

Usage

age_slice_weights(
  age = NULL,
  sd = NULL,
  c14 = NULL,
  err = NULL,
  curve = NULL,
  slice_fun = trace21k_id,
  step = 5,
  min_weight = 0.01
)

Arguments

age, sd

Calendar ages (years BP) and their standard deviations.

c14, err

Radiocarbon ages and errors (instead of age, sd).

curve

Calibration curve for c14 (columns: calendar age BP, radiocarbon age, error); default IntCal20 from the rintcal package.

slice_fun

Function giving the slice of a calendar age.

step

Grid step (years) of the calendar-age density.

min_weight

Smallest slice probability kept.

Value

A data.frame with id (the position of the age in the input), slice and weight (summing to 1 for each id).

Details

Calendar ages (age, sd) are taken as normal; radiocarbon ages (c14, err) are calibrated as in calibrate_radiocarbon() (IntCal20 by default, or curve). The calendar-age density is evaluated on a grid of step years, each grid age is assigned to its slice with slice_fun (by default the 100-year slices of CHELSA-TraCE21k, trace21k_id()), and the probabilities of the slices are summed and normalised to 1. Slices with a probability below min_weight are dropped (and the rest renormalised).

Status and limits. Calibration follows Reimer et al. (2020); the weighting of slices is a preENM addition to temporal_validation(). It covers dating uncertainty only, not identification or reworking of the fossil. What to vary. min_weight, and compare with equal weights.

References

Reimer, P.J., Austin, W.E.N., Bard, E., et al. (2020) The IntCal20 Northern Hemisphere radiocarbon age calibration curve (0-55 cal kBP). Radiocarbon 62, 725-757. doi:10.1017/RDC.2020.41

Examples

# an age of 12000 +/- 100 years spreads over three 100-year slices
age_slice_weights(age = 12000, sd = 100)
#>   id slice     weight
#> 1  1  -102 0.06505717
#> 2  1  -101 0.23237348
#> 3  1  -100 0.40513871
#> 4  1   -99 0.23237348
#> 5  1   -98 0.06505717