mod <- mod_pois(injuries ~ age:sex + ethnicity + year,
data = nzl_injuries,
exposure = popn)
mod # value for 'n_draw' displayed in object
n_draw(mod) # or use 'n_draw()' to query
mod <- mod |>
set_n_draw(n_draw = 5000)
mod
Run the code above in your browser using DataLab