Skip to contents

Computes and saves convergence diagnostics (Rhat, ESS) for hyperparameters and creates density overlay plots.

Usage

get_convergence_diagnostics(fit, model_name = "spline")

Arguments

fit

A fitted model object from fit_model

model_name

Character string specifying the model type. Either "spline" (checks Omega, Ptilde, Betas) or "rw2" (checks Omega, gamma). Default is "spline".

Value

NULL (invisibly). Saves diagnostics.csv and diagnostics.pdf to the output directory.