Specify a covariate whose coefficient should be held constant at a fixed value rather than estimated from the data. This is useful for offset variables or when you want to impose theoretical constraints. Fixed coefficients are handled efficiently by pre-computing their contribution in R before passing data to JAGS.
Value
A bml_fix object that can be used within vars.
Examples
if (FALSE) { # \dontrun{
# Fix a coefficient to 1.0 (standard offset)
fix(exposure, 1.0)
# Use within vars() for multiple-membership models
vars(fix(population, 0.5) + income + education)
} # }