Utility function: convergence diagnostics for piece-wise constant models

get_pwe_conv_diag(fit, file = NULL, patterns = c("d", "mu"), re.pattern = "sd")

Arguments

fit

rjags object which is the return of R2jags::jags()

file

Optional output filename (a pdf with this name will be created if provided).

patterns

Vector of character strings used to identify the patterns selected for conv assessment.

re.pattern

Character

Value

ggplot object