inst/example_files/mk_examples.R

library(glmmTMB)
salamander1 <- glmmTMB(count ~ mined + (1|site),
                       zi=~mined,
                       family=poisson, data=Salamanders)
saveRDS(salamander1,"salamander1.rds",version=2)

Try the glmmTMB package in your browser

Any scripts or data that you put into this service are public.

glmmTMB documentation built on June 22, 2024, 6:56 p.m.