plot.age_depth_model {tidypaleo}R 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)


[Package tidypaleo version 0.1.3 Index]