tidy_parameters: Tidy a model with parameters package

View source: R/custom_tidiers.R

tidy_parametersR Documentation

Tidy a model with parameters package

Description

Use parameters::model_parameters() to tidy a model and apply parameters::standardize_names(style = "broom") to the output

Usage

tidy_parameters(x, conf.int = TRUE, conf.level = 0.95, ...)

Arguments

x

(a model object, e.g. glm)
A model to be tidied.

conf.int

(logical)
Whether or not to include a confidence interval in the tidied output.

conf.level

(numeric)
The confidence level to use for the confidence interval (between 0 ans 1).

...

Additional parameters passed to parameters::model_parameters().

Note

For betareg::betareg(), the component column in the results is standardized with broom::tidy(), using "mean" and "precision" values.

See Also

Other custom_tieders: tidy_broom(), tidy_multgee(), tidy_with_broom_or_parameters(), tidy_zeroinfl()

Examples


if (.assert_package("parameters", boolean = TRUE)) {
  lm(Sepal.Length ~ Sepal.Width + Species, data = iris) |>
    tidy_parameters()
}


larmarange/broom.helpers documentation built on Sept. 27, 2024, 12:35 a.m.