Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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.

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)
  lines(agemodel.it(5), col="red")

## End(Not run)

rbacon

Age-Depth Modelling using Bayesian Statistics

v2.5.5
GPL (>= 2)
Authors
Maarten Blaauw [aut, cre], J. Andres Christen [aut, ctb, cph], Marco A. Aquino Lopez [aut], Judith Esquivel Vazquez [ctb], Oscar M. Gonzalez V. [ctb], Ted Belding [cph], James Theiler [cph], Brian Gough [cph], Charles Karney [cph]
Initial release
2021-05-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.