Automatically detect burnin based on one of several methods.
Usage
getBurnin(
jags_out,
threshold = 1.1,
use.confidence = TRUE,
method = "moving.window",
plotfile = "/dev/null",
...
)Arguments
- jags_out
List of MCMC sample matrices or
mcmc.listobject- threshold
Maximum value of Gelman diagnostic
- use.confidence
Logical. If TRUE (default), use 95% confidence interval for Gelman Diagnostic. If FALSE, use the point estimate.
- method
Character string indicating method. Options are "moving.window" (default) or "gelman.plot".
- plotfile
path
- ...
Other parameters to methods