You can call this function as you would glm
or pass a
previously fitted glm
object. Either way, the result is
a summary table printed to the Viewer.
glm_v(...)
Arguments to pass to glm.
kable
# NOT RUN {
# Fit and view
glm_v(death_1yr ~ Age + Sex + Race, data = tabdata, family = "binomial")
# Fit then view
fit <- glm(death_1yr ~ Age + Sex + Race, data = tabdata, family = "binomial")
glm_v(fit)
# Piping is OMG so cool Hashtag HexStickerz
fit %>% glm_v()
# }
Run the code above in your browser using DataLab