Bacon.hist | R Documentation |
Calculate the distribution of age estimates of single or multiple depths.
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,
save.info = FALSE
)
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 |
save.info |
A variable called ‘info’ with relevant information about the run (e.g., core name, priors, settings, ages, output) can be saved into the working directory. Note that this will overwrite any existing variable with the same name - as an alternative, one could run, e.g., |
Age estimates of specific depths can also be plotted.
A local variable called ‘hists’, and 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.
Maarten Blaauw, J. Andres Christen
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.