rbacon (version 2.4.2)

agemodel.it: Extract one age-model iteration

Description

For one MCMC iteration (it), extract the corresponding age-depth model.

Usage

agemodel.it(it, set = get("info"), BCAD = set$BCAD)

Arguments

it

The MCMC iteration of which the age-model should be calculated.

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 cal BP by default, but can be changed to BC/AD using BCAD=TRUE.

Value

A variable with two columns - depth and the age-depth model of a single iteration.

References

Blaauw, M. and Christen, J.A., Flexible paleoclimate age-depth models using an autoregressive gamma process. Bayesian Anal. 6 (2011), no. 3, 457--474. https://projecteuclid.org/euclid.ba/1339616472

See Also

http://www.qub.ac.uk/chrono/blaauw/manualBacon_2.3.pdf

Examples

Run this code
# NOT RUN {
  Bacon(run=FALSE, coredir=tempfile())
  agedepth(age.res=50, d.res=50, d.by=10)
  lines(agemodel.it(5), col="red")
# }

Run the code above in your browser using DataLab