View source: R/bage_mod-methods.R
| n_draw.bage_mod | R Documentation |
Get the value of n_draw for a model object.
n_draw controls the number
of posterior draws that are generated
by functions such as augment()
and components().
## S3 method for class 'bage_mod'
n_draw(x)
x |
An object of class |
An integer
set_n_draw() Modify the value of n_draw
mod_pois(),mod_binom(),mod_norm() Create a model object
mod <- mod_pois(injuries ~ age:sex + ethnicity + year,
data = nzl_injuries,
exposure = popn)
n_draw(mod)
mod <- mod |>
set_n_draw(n_draw = 5000)
n_draw(mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.