add.dates {clam} | R Documentation |
Add dates to age-depth plots
Description
Add dated depths to plots, e.g. to show dates that weren't used in the age-depth model
Usage
add.dates(
mn,
sdev,
depth,
cc = 1,
above = 0.001,
exx = 50,
normal = TRUE,
normalise = TRUE,
t.a = 3,
t.b = 4,
age.res = 100,
times = 20,
col = rgb(1, 0, 0, 0.5),
border = rgb(1, 0, 0, 0.5),
rotate.axes = FALSE,
mirror = TRUE,
up = TRUE,
BCAD = FALSE
)
Arguments
mn |
Reported mean of the date. Can be multiple dates. |
sdev |
Reported error of the date. Can be multiple dates. |
depth |
Depth of the date. |
cc |
The calibration curve to use: |
above |
Threshold for plotting of probability values. Defaults to |
exx |
Exaggeration of probability distribution plots. Defaults to |
normal |
By default, Bacon uses the student's t-distribution to treat the dates. Use |
normalise |
By default, the date is normalised to an area of 1 ( |
t.a |
The dates are treated using the student's t distribution by default ( |
t.b |
The dates are treated using the student's t distribution by default ( |
age.res |
Resolution of the date's distribution. Defaults to |
times |
The extent of the range to be calculated for each date. Defaults to |
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 |
Details
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.
Value
A date's distribution, added to an age-depth plot.
Author(s)
Maarten Blaauw, J. Andres Christen
Examples
clam(coredir=tempfile())
add.dates(5000, 100, 60)