Skip to contents

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

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())


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

# }