rbacon (version 3.2.0)

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)

Value

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

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.

Author

Maarten Blaauw, J. Andres Christen

Examples

Run this code
if (FALSE) {
  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