Provides an interface to visualize the model results with ggstats package.
Arguments
- breg
A regression object with results (must pass
assert_breg_obj_with_results()).- idx
Index or names (focal variables) of the model(s).
- ...
Arguments passing to
ggstats::ggcoef_table()orggstats::ggcoef_compare()exceptsmodel.
See also
Other br_show:
br_show_coxph_diagnostics(),
br_show_fitted_line(),
br_show_fitted_line_2d(),
br_show_forest(),
br_show_forest_circle(),
br_show_forest_ggstatsplot(),
br_show_nomogram(),
br_show_residuals(),
br_show_risk_network(),
br_show_survival_curves(),
br_show_table(),
br_show_table_gt()
Examples
if (rlang::is_installed("ggstats")) {
m <- br_pipeline(mtcars,
y = "mpg",
x = colnames(mtcars)[2:4],
x2 = "vs",
method = "gaussian"
)
br_show_forest_ggstats(m)
}
