tidy_zeroinfl {broom.helpers} | R Documentation |
Tidy a zeroinfl
or a hurdle
model
Description
A 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.
Usage
tidy_zeroinfl(x, conf.int = TRUE, conf.level = 0.95, component = NULL, ...)
Arguments
x |
( |
conf.int |
( |
conf.level |
( |
component |
( |
... |
Additional parameters passed to |
See Also
Other custom_tieders:
tidy_broom()
,
tidy_multgee()
,
tidy_parameters()
,
tidy_svy_vglm()
,
tidy_vgam()
,
tidy_with_broom_or_parameters()
Examples
library(pscl)
mod <- zeroinfl(
art ~ fem + mar + phd,
data = pscl::bioChemists
)
mod |> tidy_zeroinfl(exponentiate = TRUE)
[Package broom.helpers version 1.21.0 Index]