add.dates | R Documentation |
Add dated depths to plots, e.g. to show dates that weren't used in the age-depth model
add.dates(
mn,
sdev,
depth,
cc = 1,
set = get("info"),
above = 1e-06,
postbomb = 0,
normal = TRUE,
delta.R = set$delta.R,
delta.STD = set$delta.STD,
t.a = set$t.a,
t.b = set$t.b,
date.res = 100,
height = 0.1,
calheight = 1,
agesteps = 1,
cutoff = 0.005,
col = rgb(1, 0, 0, 0.5),
border = rgb(1, 0, 0, 0.5),
rotate.axes = FALSE,
mirror = TRUE,
up = TRUE,
BCAD = FALSE,
pch = 4,
cc.dir = c()
)
mn |
Reported mean of the date. Can be multiple dates. Negative numbers indicate postbomb dates (if cc > 0). |
sdev |
Reported error of the date. Can be multiple dates. |
depth |
Depth of the date. |
cc |
The calibration curve to use: |
set |
Detailed information of the current run, stored within this session's memory as variable |
above |
Threshold for plotting of probability values. Defaults to |
postbomb |
Use a postbomb curve for negative (i.e. postbomb) 14C ages. |
normal |
By default, Bacon uses the t-distribution (Christen and Perez 2009) to treat the dates. Use |
delta.R |
Mean of core-wide age offsets (e.g., regional marine offsets). |
delta.STD |
Error of core-wide age offsets (e.g., regional marine offsets). |
t.a |
The dates are treated using the t distribution by default ( |
t.b |
The dates are treated using the t distribution by default ( |
date.res |
Resolution of the date's distribution. Defaults to |
height |
The heights of the distributions of the dates. See also |
calheight |
Multiplier for the heights of the distributions of dates on the calendar scale. Defaults to |
agesteps |
Step size for age units of the distribution. Default |
cutoff |
Avoid plotting very low probabilities of date distributions (default |
col |
The colour of the ranges of the date. Default is semi-transparent red: |
border |
The colours of the borders of the date. Default is semi-transparent red: |
rotate.axes |
The default of plotting age on the horizontal axis and event probability on the vertical one can be changed with |
mirror |
Plot the dates as 'blobs'. Set to |
up |
Directions of distributions if they are plotted non-mirrored. Default |
BCAD |
The calendar scale of graphs is in |
pch |
The shape of any marker to be added to the date. Defaults to a cross, |
cc.dir |
Directory where the calibration curves for C14 dates |
Sometimes it is useful to add additional dating information to age-depth plots, e.g., to show outliers or how dates calibrate with different estimated offsets. Calls rice's draw.dates function.
A date's distribution, added to an age-depth plot.
Maarten Blaauw, J. Andres Christen
Bacon(run=FALSE, coredir=tempfile())
agedepth()
add.dates(5000, 100, 60)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.