Convert fmt_uni_regression objects to data frame

# S3 method for fmt_uni_regression
as_tibble(x, ...)

as_data_frame.fmt_uni_regression(x, ...)

Arguments

x

object of class fmt_uni_regression object from fmt_uni_regression() function

...

further arguments passed to individual methods.

Details

as_data_frame.fmt_uni_regression is alias.

See also

Examples

fmt_uni_regression( trial, method = "glm", y = "response", method.args = list(family = binomial), exponentiate = TRUE ) %>% as_tibble()
#> # A tibble: 14 x 5 #> Variable N OR `95% CI` `p-value` #> <chr> <chr> <chr> <chr> <chr> #> 1 Treatment Randomization 191 " " " " " " #> 2 Drug " " Ref. " " " " #> 3 Placebo " " 0.47 0.26, 0.84 0.012 #> 4 Age, yrs 183 1.00 0.98, 1.02 >0.9 #> 5 Marker Level, ng/mL 183 0.92 0.65, 1.30 0.6 #> 6 T Stage 191 " " " " " " #> 7 T1 " " Ref. " " " " #> 8 T2 " " 1.40 0.63, 3.14 0.4 #> 9 T3 " " 0.63 0.26, 1.50 0.3 #> 10 T4 " " 0.50 0.22, 1.11 0.089 #> 11 Grade 191 " " " " " " #> 12 I " " Ref. " " " " #> 13 II " " 0.60 0.29, 1.25 0.2 #> 14 III " " 0.76 0.38, 1.51 0.4