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

Description Usage Arguments Details Value Author(s) Examples

View source: R/postanalysis.R

Description

Produce a plot of proxy values against calendar age.

Usage

1
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

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

Example output

The run's files will be put in this folder: /work/tmp/tmp/RtmpMYWOgG/Example

 Warning, some dates lie partly outside the calibration curve! 
 Calibrating dates...  extrapolating beyond dated levels, dangerous!
  Interpolating, sampling.....
 Removing 1 models with age reversals, 999 models left...
  Example's 95% confidence ranges span from 21 to 1497 yr (average 234 yr)
  Fit (-log, lower is better): 6.59 

clam documentation built on May 11, 2021, 5:08 p.m.

Related to plot_proxies in clam...