if (FALSE) { # interactive()
if (.assert_package("pscl", boolean = TRUE)) {
library(pscl)
mod <- zeroinfl(
art ~ fem + mar + phd,
data = pscl::bioChemists
)
mod |> tidy_zeroinfl(exponentiate = TRUE)
}
}
Run the code above in your browser using DataLab