brms_zi_2 | R Documentation |
Model of class brmsfit
brms_zi_2
An object of class brmsfit
of length 19.
## Not run:
zinb <- read.csv("http://stats.idre.ucla.edu/stat/data/fish.csv")
set.seed(123)
brms::brm(bf(
count ~ persons + child + camper + (1 | persons),
zi ~ child + camper + (1 | persons)
),
data = zinb,
family = zero_inflated_poisson()
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.