View source: R/custom_tidiers.R
tidy_zeroinfl | R Documentation |
zeroinfl
or a hurdle
modelA tidier for models generated with pscl::zeroinfl()
or pscl::hurdle()
.
Term names will be updated to be consistent with generic models. The original
term names are preserved in an "original_term"
column.
tidy_zeroinfl(x, conf.int = TRUE, conf.level = 0.95, component = NULL, ...)
x |
( |
conf.int |
( |
conf.level |
( |
component |
( |
... |
Additional parameters passed to |
Other custom_tieders:
tidy_broom()
,
tidy_multgee()
,
tidy_parameters()
,
tidy_vgam()
,
tidy_with_broom_or_parameters()
library(pscl)
mod <- zeroinfl(
art ~ fem + mar + phd,
data = pscl::bioChemists
)
mod |> tidy_zeroinfl(exponentiate = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.