flextable (version 0.5.11)

as_flextable.glm: tabular summary for glm object

Description

produce a flextable describing a generalized linear model produced by function glm.

Usage

# S3 method for glm
as_flextable(x, ...)

Arguments

x

glm model

...

unused argument

Illustrations

See Also

Other as_flextable methods: as_flextable.grouped_data(), as_flextable.htest(), as_flextable.lm(), as_flextable.xtable(), as_flextable()

Examples

Run this code
# NOT RUN {
if(require("broom")){
  dat <- attitude
  dat$high.rating <- (dat$rating > 70)
  probit.model <- glm(high.rating ~ learning + critical +
     advance, data=dat, family = binomial(link = "probit"))
  ft <- as_flextable(probit.model)
  ft
}
# }

Run the code above in your browser using DataLab