Learn R Programming

gtsummary (version 0.1.0)

as_tibble.fmt_regression: Convert fmt_regression objects to data frame

Description

Convert fmt_regression objects to data frame

Usage

# S3 method for 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

Run this code
# NOT RUN {
glm(response ~ age + stage + grade,
    trial,
    family = binomial(link = "logit")) %>%
  fmt_regression(exponentiate = TRUE) %>%
  as_tibble()
# }

Run the code above in your browser using DataLab