plot_proxies: Produce a plot of proxy values against calendar age.

View source: R/postanalysis.R

plot_proxiesR Documentation

Produce a plot of proxy values against calendar age.

Description

Produce a plot of proxy values against calendar age.

Usage

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).

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.

Value

A plot of the age model function with proxies.

Author(s)

Maarten Blaauw

Examples

clam(coredir=tempdir(), proxies=TRUE)
plot_proxies(3)
plot_proxies(3, revyr=FALSE)

clam documentation built on Aug. 17, 2022, 5:06 p.m.