Use parameters::model_parameters()
to tidy a model and apply
parameters::standardize_names(style = "broom")
to the output
tidy_parameters(x, conf.int = TRUE, conf.level = 0.95, ...)
(a model object, e.g. glm
)
A model to be tidied.
(logical
)
Whether or not to include a confidence interval in the tidied output.
(numeric
)
The confidence level to use for the confidence interval (between 0
ans 1
).
Additional parameters passed to parameters::model_parameters()
.
For betareg::betareg()
, the component column in the results is standardized
with broom::tidy()
, using "mean"
and "precision"
values.
Other custom_tieders:
tidy_broom()
,
tidy_multgee()
,
tidy_svy_vglm()
,
tidy_vgam()
,
tidy_with_broom_or_parameters()
,
tidy_zeroinfl()
# \donttest{
lm(Sepal.Length ~ Sepal.Width + Species, data = iris) |>
tidy_parameters()
#> term estimate std.error conf.level conf.low conf.high
#> 1 (Intercept) 2.2513932 0.3697543 0.95 1.5206309 2.982156
#> 2 Sepal.Width 0.8035609 0.1063390 0.95 0.5933983 1.013723
#> 3 Speciesversicolor 1.4587431 0.1121079 0.95 1.2371791 1.680307
#> 4 Speciesvirginica 1.9468166 0.1000150 0.95 1.7491525 2.144481
#> statistic df.error p.value
#> 1 6.088890 146 9.568102e-09
#> 2 7.556598 146 4.187340e-12
#> 3 13.011954 146 3.478232e-26
#> 4 19.465255 146 2.094475e-42
# }