tidy_svy_vglm: Tidy a 'svy_vglm' model

View source: R/custom_tidiers.R

tidy_svy_vglmR Documentation

Tidy a svy_vglm model

Description

[Experimental] A tidier for models generated with svyVGAM::svy_vglm(). 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_svy_vglm(x, conf.int = TRUE, conf.level = 0.95, ...)

Arguments

x

(svy_vglm)
A svyVGAM::svy_vglm() model.

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().

See Also

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

Examples



  library(svyVGAM)

  mod <- svy_vglm(
    Species ~ Sepal.Length + Sepal.Width,
    family = multinomial(),
    design = survey::svydesign(~1, data = iris)
  )
  mod |> tidy_svy_vglm(exponentiate = TRUE)



broom.helpers documentation built on June 8, 2025, 12:40 p.m.