plot_proxies function

Produce a plot of proxy values against calendar age.

Produce a plot of proxy values against calendar age.

plot_proxies(prox, errors = TRUE, proxcol = grey(0.5), revyr = TRUE)

Arguments

  • prox: Position of the proxy that should be plotted, e.g. 1 for the first proxy in the file.
  • errors: Plot an error envelope.
  • proxcol: Colour of the error envelope.
  • revyr: Direction of the calendar scale (revyr=TRUE will reverse the calendar scale from the default FALSE).

Returns

A plot of the age model function with proxies.

Details

Only works after running clam on the core using proxies=TRUE. Requires a file containing the core depths as the first column, and any proxy values on subsequent columns. Values should be separated by comma's. The file should be stored as a .csv file in the core's directory.

Examples

base_temp_dir <- tempdir() clam_dir <- file.path(base_temp_dir, "clam_runs") dir.create(clam_dir, recursive = TRUE, showWarnings = FALSE) clam(coredir=clam_dir, proxies=TRUE) plot_proxies(3) plot_proxies(3, revyr=FALSE)

Author(s)

Maarten Blaauw

  • Maintainer: Maarten Blaauw
  • License: GPL (>= 2)
  • Last published: 2025-01-11

Useful links