Skip to contents

Return the names accepted by build_param_matrix(), after applying any grouping or renaming in set_parameters(). The list includes nondecision times, trigger probabilities, and sampled mixture weights where applicable. These names do not determine which parameters an optimizer must estimate; parameters can be held fixed by supplying constant values.

Usage

par_names(model)

Arguments

model

A race_spec or finalized model_structure object.

Value

A character vector of parameter names.

Examples

spec <- race_spec()
spec <- add_accumulator(spec, "A", "lognormal")
spec <- add_outcome(spec, "A_win", "A")
par_names(spec)
#> [1] "m"  "s"  "t0"