tidy_vgam {broom.helpers} | R Documentation |
Tidy a vglm
or a vgam
model
Description
A tidier for models generated with
VGAM::vglm()
or VGAM::vgam()
.
Term names will be updated to be consistent with generic models. The original
term names are preserved in an "original_term"
column. Depending on the
model, additional column "group"
, "component"
and/or "y.level"
may be
added to the results.
Usage
tidy_vgam(x, conf.int = TRUE, conf.level = 0.95, ...)
Arguments
x |
( |
conf.int |
( |
conf.level |
( |
... |
Additional parameters passed to |
See Also
Other custom_tieders:
tidy_broom()
,
tidy_multgee()
,
tidy_parameters()
,
tidy_svy_vglm()
,
tidy_with_broom_or_parameters()
,
tidy_zeroinfl()
Examples
library(VGAM)
mod <- vglm(
Species ~ Sepal.Length + Sepal.Width,
family = multinomial(),
data = iris
)
mod |> tidy_vgam(exponentiate = TRUE)
mod <- vglm(
Species ~ Sepal.Length + Sepal.Width,
family = multinomial(parallel = TRUE),
data = iris
)
mod |> tidy_vgam(exponentiate = TRUE)
[Package broom.helpers version 1.21.0 Index]