[Experimental] A tidier for models generated with multgee::nomLORgee() or multgee::ordLORgee(). Term names will be updated to be consistent with generic models. The original term names are preserved in an "original_term" column.

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

Arguments

x

a multgee::nomLORgee() or a multgee::ordLORgee() model

conf.int

logical indicating whether or not to include a confidence interval in the tidied output

conf.level

the confidence level to use for the confidence interval

...

additional parameters passed to parameters::model_parameters()

See also

Examples

if (FALSE) { # interactive()
if (.assert_package("multgee", boolean = TRUE)) {
  library(multgee)

  mod <- multgee::nomLORgee(
    y ~ factor(time) * sec,
    data = multgee::housing,
    id = id,
    repeated = time,
  )
  mod %>% tidy_multgee()

  mod2 <- ordLORgee(
    formula = y ~ factor(time) + factor(trt) + factor(baseline),
    data = multgee::arthritis,
    id = id,
    repeated = time,
    LORstr = "uniform"
  )
  mod2 %>% tidy_multgee()
}
}