as_tibble.fmt_regression: Convert 'fmt_regression' objects to data frame

Description Usage Arguments Details See Also Examples

Description

Convert fmt_regression objects to data frame

Usage

1
2
3
4
## S3 method for class 'fmt_regression'
as_tibble(x, ...)

as_data_frame.fmt_regression(x, ...)

Arguments

x

object of class fmt_regression object from fmt_regression() function

...

further arguments passed to individual methods.

Details

as_data_frame.fmt_regression is alias.

See Also

fmt_regression, as_tibble.fmt_table1, as_tibble.fmt_uni_regression, as_tibble

Examples

1
2
3
4
5
glm(response ~ age + stage + grade,
    trial,
    family = binomial(link = "logit")) %>%
  fmt_regression(exponentiate = TRUE) %>%
  as_tibble()

ddsjoberg/gtsummary-v0.1 documentation built on June 4, 2019, 7:48 a.m.