br_show_table_gt {bregr} | R Documentation |
Show regression models with gtsummary
interface
Description
Provides an interface to visualize the model results with gtsummary package in table format. check https://www.danieldsjoberg.com/gtsummary/articles/tbl_regression.html#customize-output to see possible output customization.
Usage
br_show_table_gt(breg, idx = NULL, ..., tab_spanner = NULL)
Arguments
breg |
A regression object with results (must pass |
idx |
Index or names (focal variables) of the model(s). |
... |
Arguments passing to |
tab_spanner |
( |
Value
A table
See Also
Other br_show:
br_show_fitted_line()
,
br_show_fitted_line_2d()
,
br_show_forest()
,
br_show_forest_ggstats()
,
br_show_forest_ggstatsplot()
,
br_show_risk_network()
,
br_show_table()
Examples
if (rlang::is_installed("gtsummary")) {
m <- br_pipeline(mtcars,
y = "mpg",
x = colnames(mtcars)[2:4],
x2 = "vs",
method = "gaussian"
)
br_show_table_gt(m)
}