Learn R Programming

⚠️There's a newer version (3.3.1) of this package.Take me there.

rbacon

Software for Bayesian age-depth modelling.

For tutorials, check out the vignettes at the CRAN version.

Copy Link

Version

Install

install.packages('rbacon')

Monthly Downloads

1,133

Version

3.2.0

License

GPL (>= 2)

Maintainer

Maarten Blaauw

Last Published

November 28th, 2023

Functions in rbacon (3.2.0)

bacon2clam

Translate Bacon .csv files to clam .csv files.
add.dates

Add dates to age-depth plots
agedepth

Plot an age-depth model
scissors

Remove the first n iterations.
set.initvals

Set initial values for the Bacon MCMC run.
calib.plot

Plot the dates
accrate.depth.ghost

Plot modelled accumulation rates against the depths of a core.
accrate.depth

Obtain estimated accumulation rates as for any depth of a core.
squeeze

Squeeze some depths of a core
stretch

Stretch some depths of a core
thinner

Thin iterations.
tofu

Bacon for vegans
draw.pbmodelled

Plot the 210Pb data
flux.age.ghost

Plot flux rates for proxies.
background

calculate probabilities that Pb-210 data have reached background levels
agemodel.it

Extract one age-model iteration
proxy.ghost

Proxies analysed along the depths of a core can be plotted as 'proxy-ghost' graphs against calendar time while taking into account chronological uncertainties. Here darker grey indicates more likely calendar ages for specific proxy values.
rbacon

rbacon
Bacon

Main age-depth modelling function
draw.pbmeasured

Plot the 210Pb data
clam2bacon

Translate clam .csv files to Bacon .csv files.
A.modelled

Calculate modelled 210Pb
accrate.age

Obtain estimated accumulation rates for any age of a core.
Bacon.d.Age

Output all depths for a single age.
Bacon.hist

Calculate age distributions of depths.
Bacon.cleanup

Remove files made to produce the current core's age-depth model.
Bacon.Age.d

Output all ages for a single depth.
accrate.age.ghost

Plot a core's accumulation rates against calendar time.
Baconvergence

Test to identify poorly mixed MCMC runs.
AgesOfEvents

Event probabilities against calendar age