I like to show logistic regression with and without exponentiated coefficients side by side with the modelsummary
package. The package produces great html output. It comes with an easy option to turn exponentiate = TRUE
on/off. But the option applies to all models in a list.
log_model = glm(vs ~ am, family = binomial(link = 'logit'), data = mtcars)
library(modelsummary)
modelsummary(list("No Odds Ratio" = log_model), exponentiate = FALSE)
modelsummary(list("Odds Ratio" = log_model), exponentiate = TRUE)