glm_v {tab} | R Documentation |
Print a GLM Summary Table to the RStudio Viewer
Description
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.
Usage
glm_v(...)
Arguments
... |
Arguments to pass to glm. |
Value
kable
Examples
# 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()
[Package tab version 5.1.1 Index]