select_main_params: Select the "main" model parameters for diagnostic display

View source: R/convergence.R

select_main_paramsR Documentation

Select the "main" model parameters for diagnostic display

Description

Drops 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.

Usage

select_main_params(param_names)

Arguments

param_names

Character vector of parameter names.

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]"))

tulpa documentation built on Oct. 19, 2026, 5:09 p.m.