#' `r lifecycle::badge('deprecated')
Arguments
- mod
An object of class
"bage_mod"
, created withmod_pois()
,mod_binom()
, ormod_norm()
.
Details
This function has been deprecated, and will
be removed from future versions of bage
.
Please used function set_confidential_rr3()
instead.
Examples
## 'injuries' variable in 'nzl_injuries' dataset
## has been randomly rounded to base 3
mod <- mod_pois(injuries ~ age:sex + ethnicity + year,
data = nzl_injuries,
exposure = popn) |>
set_confidential_rr3() |> ## rather than set_datamod_outcome_rr3
fit()
#> Building log-posterior function...
#> Finding maximum...
#> Drawing values for hyper-parameters...