glm_v: Print a GLM Summary Table to the RStudio Viewer

Description Usage Arguments Value Examples

View source: R/glm_v.R

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

1

Arguments

...

Arguments to pass to glm.

Value

kable

Examples

1
2
3
4
5
6
7
8
9
# 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()

vandomed/tab documentation built on Aug. 8, 2021, 2:50 a.m.