plot.age_depth_model: Plot an age depth model using base graphics

View source: R/age_depth_model.R

plot.age_depth_modelR Documentation

Plot an age depth model using base graphics

Description

Plot an age depth model using base graphics

Usage

## S3 method for class '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)


paleolimbot/agedepth documentation built on Feb. 6, 2023, 9:21 p.m.