Bacon.hist {rbacon} | R Documentation |
Calculate age distributions of depths.
Description
Calculate the distribution of age estimates of single or multiple depths.
Usage
Bacon.hist(
d,
set = get("info"),
BCAD = set$BCAD,
age.lab = c(),
age.lim = c(),
hist.lab = "Frequency",
calc.range = TRUE,
hist.lim = c(),
draw = TRUE,
prob = set$prob,
hist.col = grey(0.5),
hist.border = grey(0.2),
range.col = "blue",
med.col = "green",
mean.col = "red",
verbose = TRUE
)
Arguments
d |
The depth or depths for which a histogram and age ranges should be provided. If multiple depths are given, then just the age ranges, median and means (no graphs) are provided for each depth. |
set |
Detailed information of the current run, stored within this session's memory as variable info. |
BCAD |
The calendar scale of graphs and age output-files is in |
age.lab |
The labels for the calendar axis (default |
age.lim |
Minimum and maximum calendar age ranges, calculated automatically by default ( |
hist.lab |
The y-axis is labelled |
calc.range |
Calculate ranges? Takes time so can be left out |
hist.lim |
Limits of the y-axis. |
draw |
Draw a plot or not. Defaults to |
prob |
Age ranges are given as quantiles, e.g., 2.5% and 97.5% for the default of 95% confidence limits ( |
hist.col |
Colour of the histogram. Default grey, |
hist.border |
Colour of the histogram's outline. Default dark grey, |
range.col |
Colour of confidence ranges. Defaults to |
med.col |
Colour of the median. Defaults to |
mean.col |
Colour of the mean. Defaults to |
verbose |
Provide feedback on what is happening (default |
Details
Age estimates of specific depths can also be plotted.
Value
A plot with the histogram and the age ranges, median and mean, or just the age ranges, medians and means if more than one depth d
is given.
Author(s)
Maarten Blaauw, J. Andres Christen
Examples
## Not run:
Bacon(run=FALSE, coredir=tempfile())
agedepth(age.res=50, d.res=50, d.by=10)
Bacon.hist(20)
Bacon.hist(20:30)
## End(Not run)