plotEssBurn | R Documentation |
Takes an mcmc trace and tests the ESS at different values of burn-in
plotEssBurn(
trace,
longestBurnIn = ifelse(is.data.frame(trace) | is.matrix(trace) | is.mcmc(trace),
nrow(trace), nrow(trace[[1]]))/2,
stepSize = round(longestBurnIn/50)
)
trace |
either a |
longestBurnIn |
The longest burn-in to test. Defaults to half the length of the trace |
stepSize |
The size of the steps of burn-in to test. Defaults to
1/50th of |
a plot of the ESS against burn.in
data(mcmcEpi)
plotEssBurn(mcmcEpi1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.