View source: R/custom_tidiers.R
| tidy_multgee | R Documentation |
multgee modelA 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, ...)
x |
( |
conf.int |
( |
conf.level |
( |
... |
Additional parameters passed to |
To be noted, for multgee::nomLORgee(), the baseline y category is the
latest modality of y.
Other custom_tidiers:
tidy_broom(),
tidy_parameters(),
tidy_svy_vglm(),
tidy_vgam(),
tidy_with_broom_or_parameters(),
tidy_zeroinfl()
library(multgee)
h <- housing
h$status <- factor(
h$y,
labels = c("street", "community", "independant")
)
mod <- multgee::nomLORgee(
status ~ factor(time) * sec,
data = h,
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.