Build default monitors from a compiled model spec
build_monitors_from_spec.RdReturns the character vector of node names to monitor in MCMC.
This is a pre-run builder used by build_nimble_bundle().
Details
Monitoring follows these rules:
Always monitor concentration
kappa(whether fixed or stochastic).SB: monitor
w[1:components]and optionallyv[1:(components-1)].CRP: monitor
z[1:N].Bulk parameters:
dist/fixed: monitor
<param>[1:components]link: monitor
beta_<param>[1:components, 1:P]
GPD (if enabled):
threshold: monitor scalar
thresholdwhen not link-mode;threshold[1:N]for link-modeif threshold is link-mode: monitor
beta_threshold[1:P]if threshold uses LN link-dist default: monitor
sdlog_utail_scale: if link-mode, monitor
beta_tail_scale[1:P]tail_shape: monitor scalar
tail_shape(fixed or dist)