View source: R/out_chain.management.R
| thin.chains | R Documentation |
This function thins all chains from the output of the function fit.evorates by keeping only every
thinth iteration.
thin.chains(fit, thin = 2, simplify = TRUE)
fit |
An object of class " |
thin |
Keep in warmup counts form the first iteration. For example, if fit has 2000
iterations with the first 1000 as warmup, you would set warmup to 1500 to keep the last 500
iterations.
an object of class "evorates_fit". All previously-existing elements in fit will be
included.
Other chain management:
combine.chains(),
exclude.warmup(),
select.chains()
#requires example fitted model object
#keep every 3rd iteration
thin.chains(example.fit,3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.