View source: R/process-output.R
Burn-in and thinning of MCMC samples
1 2 3 4 5 6 7 8 | burnin.thin(
samples,
target = 5000,
burnin.ratio = 2,
auto = TRUE,
burnin = NULL,
thin = NULL
)
|
samples |
Matrix of MCMC samples |
target |
Target number of samples (default = 5000). Only applicable if auto=TRUE. |
burnin.ratio |
Fraction of samples to burn-in; i.e. 2 means to remove first 1/2 of samples, 3 means 1/3, etc. (default = 2). Only applicable if auto=TRUE. |
auto |
Whether or not to perform automatic burnin and thin based on target number of samples. |
burnin |
Number of samples to discard as burnin (auto must be FALSE) |
thin |
Thinning interval (auto must be FALSE) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.