add_q | R Documentation |
Adjustments to p-values are performed with stats::p.adjust()
.
add_q(x, method = "fdr", pvalue_fun = NULL, quiet = NULL)
x |
( |
method |
( |
pvalue_fun |
( |
quiet |
Daniel D. Sjoberg, Esther Drill
# Example 1 ----------------------------------
add_q_ex1 <-
trial |>
tbl_summary(by = trt, include = c(trt, age, grade, response)) |>
add_p() |>
add_q()
# Example 2 ----------------------------------
trial |>
tbl_uvregression(
y = response,
include = c("trt", "age", "grade"),
method = glm,
method.args = list(family = binomial),
exponentiate = TRUE
) |>
add_global_p() |>
add_q()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.