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