Skip to contents

Assign ages to named periods

Usage

age_to_period(
  age,
  upper = c(Holocene = 11700, Lateglacial = 14700, Glacial = Inf)
)

Arguments

age

Numeric ages (e.g. calibrated years BP).

upper

Named vector of the upper (oldest) age limit of each period, from youngest to oldest. The default follows the INTIMATE event stratigraphy: Holocene up to 11,700, Lateglacial up to 14,700, Glacial older.

Value

Character vector of period names.

Examples

age_to_period(c(500, 11700, 12000, 20000))
#> [1] "Holocene"    "Holocene"    "Lateglacial" "Glacial"