View source: R/cluster_model.R
drop_burnin | R Documentation |
drop_burnin()
removes the burn-in from the Markov Chain Monte Carlo (MCMC) draws.
drop_burnin(model, burn_in)
model |
A list of MCMC draws from a model fit with |
burn_in |
An integer number of starting iterations to drop from each MCMC chain. |
A list of data frames of MCMC draws with burn-in dropped.
model <- drop_burnin(model = example_model, burn_in = 25)
plot_trace(variable = "mu[1,2]", model = example_model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.