# NOT RUN {
fmt_uni_regression(
trial,
method = "glm",
y = "response",
method.args = list(family = binomial),
exponentiate = TRUE
)
# rounding pvalues to 2 decimal places, and adding global p-values
fmt_uni_regression(
trial,
method = "glm",
y = "response",
method.args = list(family = binomial),
exponentiate = TRUE,
pvalue_fun = function(x) fmt_pvalue(x, digits = 2)
) %>%
add_global()
# }
Run the code above in your browser using DataLab