Learn R Programming

oxcAAR (version 1.1.2)

calcurve_plot: Plot calibrated dates on the calibration curve

Description

Draws the calibration curve (with 1-sigma envelope) and overlays one or more calibrated dates as points and/or error bars (uncalibrated and calibrated ranges).

Usage

calcurve_plot(
  x,
  dates_sigma_ranges = c("two_sigma", "one_sigma", "three_sigma"),
  uncal_range = TRUE,
  cal_range = TRUE
)

Value

NULL (called for its side effect: base graphics plot).

Arguments

x

An object of class oxcAARCalibratedDate or oxcAARCalibratedDatesList.

dates_sigma_ranges

Character. The sigma range used for the calibrated error bars. One of "two_sigma" (default), "one_sigma", "three_sigma".

uncal_range

Logical. If TRUE (default), the plot contains vertical error bars for the uncalibrated age (BP \(\pm\) k * std).

cal_range

Logical. If TRUE (default), the plot contains horizontal error bars for the calibrated age (sigma range in calendar years).