selection_backend_spec() compiles step-selection and p-hacking prior objects into active backend parameters. The returned object contains stable p/z geometry, JAGS prior/transform code, monitor names, initial values, and data constants.

selection_backend_spec(
  priors,
  backend = "jags",
  names = list(omega = "omega", alpha = "alpha"),
  global_breaks = NULL
)

Arguments

priors

a selection prior, p-hacking prior, composed bias prior, prior_none(), prior_mixture(), or a list of those priors.

backend

backend target. Currently only "jags" is supported.

names

list of backend parameter names.

global_breaks

optional global p-value break grid.

Value

A list describing the compiled backend specification.