Skip to contents

Check Calibrated Radiocarbon Dates

Usage

c14_validate(object, ...)

# S4 method for class 'CalibratedAges'
c14_validate(object)

Arguments

object

A CalibratedAges object.

...

Currently not used.

Value

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

See also

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, calendar = BP(), panel.first = graphics::grid())

plot(cal, interval = FALSE)

plot(cal[, 1, ], col.interval = "red")


plot(cal, density = FALSE, level = 0.68, lwd = 5)

plot(cal, density = FALSE, level = 0.95, lwd = 5)


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

# }