coef_format: Format coefficient table

Description Usage Arguments Value Examples

View source: R/coef_format.R

Description

coef_format takes the tibble of coefficients and p.values from a tidy call, and roudns to 3 dp and adds stars as a column.

Usage

1

Arguments

df

A tibble from a tidy broom call

...

Extra calls to round.

Value

A tibble

Examples

1
2
3
4
all_data_wide %>% filter(Treatment != "CON") %>%
  group_by(Host, Treatment) %>%
  do(tidy(glm(Inf_rate ~ MRS2, data = ., family = binomial()))) %>%
  format_num()

daflealab/genlabfunc documentation built on March 19, 2018, 10:13 a.m.