Plot an age depth model using base graphics

# S3 method for age_depth_model
plot(
  x,
  xlab = "depth",
  ylab = "age",
  xlim = NULL,
  ylim = NULL,
  add = FALSE,
  ...
)

Arguments

x

An age_depth_model

xlab, ylab

Axis labels

xlim, ylim

Axis limits

add

Pass TRUE to skip creating a new plot

...

Passed to points to customize points display

Value

The input, invisibly

Examples

adm <- age_depth_model(
  alta_lake_210Pb_ages,
  depth = depth_cm, age = age_year_ad,
  age_max = age_year_ad + age_error_yr,
  age_min = age_year_ad - age_error_yr
)

plot(adm)