c14_validate: Check Calibrated Radiocarbon Dates

View source: R/c14_validate.R

c14_validateR Documentation

Check Calibrated Radiocarbon Dates

Description

Check Calibrated Radiocarbon Dates

Usage

c14_validate(object, verbose = getOption("ananke.verbose"))

Arguments

object

A CalibratedAges object.

verbose

A logical scalar: should extra information be reported?

Value

c14_validate() is called it for its side-effects: it prints warning messages if calibrated ages are (partially) out of calibration range. Invisibly returns x.

Author(s)

N. Frerebeau

Examples

## Calibrate a single date
cal <- c14_calibrate(300, 20)
plot(cal, panel.first = graphics::grid())

## Calibrate multiple dates
cal <- c14_calibrate(
  values = c(5000, 4500),
  errors = c(45, 35),
  names = c("X", "Y")
)
plot(cal, panel.first = graphics::grid())


## Out of 14C range?
out <- c14_calibrate(130, 20)
plot(out)


ananke documentation built on June 8, 2025, 12:14 p.m.