Skip to contents

Compute standard MCMC, spatial-agreement, iteration, and computational- support diagnostics for paths produced by sampling_path(). Known-location staps are excluded, while daily and long staps are reported separately. Tags without a stap0 column are reported as daily only. Values of R-hat above 1.05 need attention, and the effective-sample-size target is approximately 100 draws per chain. Inspect computational-support warnings before deciding that additional iterations are the appropriate response. See the interactive example diagnostic report.

Usage

sampling_path_diagnostic(paths, tag, report = interactive(), quiet = FALSE)

Arguments

paths

data.frame returned by sampling_path().

tag

the tag used by sampling_path().

report

logical; show an interactive diagnostic report in the browser. The default is TRUE in an interactive R session and FALSE in scripts.

quiet

logical to hide printed diagnostics.

Value

Invisibly, a list containing all computed diagnostics.

See also

Other sampling_path: plot_movement(), sampling_path()