GLM model

model as_flextable

How to get a flextable from a GLM model.

This example demonstrate a simple call to as_flextable and then format the result.


library(flextable)

Data

dat <- attitude
dat$high.rating <- (dat$rating > 70)

Model

probit.model <- glm(high.rating ~ learning + critical +
   advance, data=dat, family = binomial(link = "probit"))

flextable

ft <- as_flextable(probit.model)
ft
Copyright © ArData 2021  -  Template by Bootstrapious.com & ported to Hugo by Kishan B