Thinning Posterior Draws
Thins the MCMC posterior draws in an object of class "bvec"
.
## S3 method for class 'bvec' thin_posterior(x, thin = 10)
x |
an object of class |
thin |
an integer specifying the thinning interval between successive values of posterior draws. |
An object of class "bvec"
.
# Load data data("e6") # Generate model data model <- gen_vec(e6, p = 2, r = 1, const = "unrestricted", seasonal = "unrestricted", iterations = 100, burnin = 10) # Add prior specifications model <- add_priors(model) # Obtain posterior draws object <- draw_posterior(model) # Thin object <- thin_posterior(object)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.