View source: R/helper_functions.R
compute_thinning_grid | R Documentation |
This function creates an real grid then rounds it. If the grid is fine enough, there is a risk that rounding ties, i.e. iteration which are kept twice. To avoid this, if the total number of iterations is smaller than twice the number of iterations desired after thinning, the chain is not thinned.
compute_thinning_grid(Nit, thinning_to = 10)
Nit |
Length of the MCMC chain |
thinning_to |
Desired number of iterations after thinning. |
an integer vector of the MCMC iterations retained.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.