Bacon.Age.d | R Documentation |
Output all MCMC-derived age estimates for a given depth.
Bacon.Age.d(
d,
set = get("info"),
its = set$output,
BCAD = set$BCAD,
na.rm = FALSE
)
d |
The depth of which Bacon age estimates are to be returned. Has to be a single depth. |
set |
Detailed information of the current run, stored within this session's memory as variable info. |
its |
The set of MCMC iterations to be used. Defaults to the entire MCMC output, |
BCAD |
The calendar scale of graphs and age output-files is in |
na.rm |
Whether or not to remove NA values (ages within slumps) |
Obtaining an age-depth model is often only a step towards a goal, e.g., plotting a core's fossil series ('proxies') against calendar time. Bacon.Age.d can be used to list all MCMC-derived age estimates for a given (single) depth, for example to calculate mean ages for a depth. See also Bacon.d.Age which calculates the depths of a single age estimate.
Outputs all MCMC-derived ages for a given depth.
Maarten Blaauw, J. Andres Christen
## Not run:
Bacon(run=FALSE, coredir=tempfile())
agedepth(age.res=50, d.res=50, d.by=10)
ages.d20 = Bacon.Age.d(20)
mean(ages.d20)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.