Last chance! 50% off unlimited learning
Sale ends in
This function uses car::Anova with argument
type = "III"
to calculate global p-values for categorical variables.
# S3 method for tbl_uvregression
add_global_p(x, ...)
Object with class tbl_uvregression
from the
tbl_uvregression function
Additional arguments to be passed to car::Anova.
A tbl_uvregression
object
Other tbl_uvregression tools: add_nevent.tbl_uvregression
,
add_q.tbl_uvregression
,
bold_italicize_labels_levels
,
bold_p.tbl_stack
,
bold_p.tbl_uvregression
,
inline_text.tbl_uvregression
,
modify_header
,
sort_p.tbl_uvregression
,
tbl_merge
, tbl_stack
,
tbl_uvregression
# NOT RUN {
tbl_uv_global_ex2 <-
trial %>%
dplyr::select(response, trt, age, grade) %>%
tbl_uvregression(
method = glm,
y = response,
method.args = list(family = binomial),
exponentiate = TRUE
) %>%
add_global_p()
# }
Run the code above in your browser using DataLab