Burn-in and thinning of MCMC samples
Usage
burnin.thin(
samples,
target = 5000,
burnin.ratio = 2,
auto = TRUE,
burnin = NULL,
thin = NULL
)Arguments
- 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)