Learn R Programming

rbacon (version 2.3.3)

thinner: Thin iterations by given proportion, for example if autocorrelation is visible within the MCMC series, and then update the output file.

Description

Thin iterations by given proportion, for example if autocorrelation is visible within the MCMC series.

Usage

thinner(proportion = 0.1, set = get("info"))

Arguments

proportion

Proportion of iterations to remove. Should be between 0 and 1. Default proportion=0.1.

set

Detailed information of the current run, stored within this session's memory as variable info.

Value

NA

Details

From all iterations, a proportion is removed with to-be-removed iterations sampled randomly among all iterations.

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/download/pdf_1/euclid.ba/1339616472

See Also

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

Examples

Run this code
# NOT RUN {
  Bacon(ask=FALSE, coredir=tempfile())
  thinner(.2)
  agedepth()
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab