Select the "main" model parameters for diagnostic display
Source:R/convergence.R
select_main_params.RdDrops per-element latent-field entries (names ending in a bracketed index,
e.g. u[12], w[3]) so plots and summaries focus on scalar coefficients
and hyperparameters rather than thousands of latent values.
Value
The subset of param_names that are not bracketed-index entries
(or the full vector if that would be empty).
Examples
select_main_params(c("beta[1]", "beta[2]", "log_sigma_re", "re[1]", "re[2]"))