thinner | R Documentation |
Randomly thin iterations by a given proportion, for example if autocorrelation is visible within the MCMC series.
thinner(proportion = 0.1, set = get("info"), write = TRUE, save.info = TRUE)
proportion |
Proportion of iterations to remove. Should be between 0 and 1. Default |
set |
Detailed information of the current run, stored within this session's memory as variable |
write |
Whether or not to write the changes to the output file. Defaults to TRUE. |
save.info |
By default, a variable called ‘info’ with relevant information about the run (e.g., core name, priors, settings, ages, output) is saved into the working directory. Note that this will overwrite any existing variable with the same name - as an alternative, one could run, e.g., |
From all iterations, a proportion is removed with to-be-removed iterations sampled randomly among all iterations.
NA
Maarten Blaauw, J. Andres Christen
Bacon(ask=FALSE, coredir=tempfile())
nrow(info$output)
thinner(.2)
nrow(info$output)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.