Returns the name of the node that holds the total effect of an ordered prior (prior_ordered()) for a parameter in the JAGS model: <parameter>_ordered_total, without any index. When the total is a mixture (for example a spike and slab), its inclusion indicator is named by appending _indicator to this name.

prior_ordered_total_name(parameter_name)

Arguments

parameter_name

a character vector of parameter names with at least one element: non-missing and not empty.

Value

prior_ordered_total_name() returns a character vector with <parameter_name>_ordered_total for each element of parameter_name.

See also

Examples

prior_ordered_total_name("mu_f")
#> [1] "mu_f_ordered_total"