Examples for 'broom::tidy.geeglm'


Tidy a(n) geeglm object

Aliases: tidy.geeglm geeglm_tidiers geepack_tidiers

Keywords:

### ** Examples


# feel free to ignore the following line—it allows {broom} to supply 
# examples without requiring the model-supplying package to be installed.
if (requireNamespace("geepack", quietly = TRUE)) {

# load modeling library
library(geepack)

# load data
data(state)


ds <- data.frame(state.region, state.x77)

# fit model
geefit <- geeglm(Income ~ Frost + Murder,
  id = state.region,
  data = ds, family = gaussian,
  corstr = "exchangeable"
)

# summarize model fit with tidiers
tidy(geefit)
tidy(geefit, conf.int = TRUE)

}

[Package broom version 0.8.0 Index]