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

Description Usage Arguments Value Examples

View source: R/age_depth_model.R

Description

Plot an age depth model using base graphics

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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

1
2
3
4
5
6
7
8
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)

tidypaleo documentation built on April 7, 2021, 5:10 p.m.